:root {
    --bg-color: #F0F0F0; /* Light neutral gray */
    --text-color: #0c1a30; /* Dark blue typography */
    --accent-color: #b8e28a; /* Slightly stronger lime for accents */
    --brand-gold: #b97a3b;
    --brand-subtitle: #c6ba6a;
    --white: #ffffff;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Lekton', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 120px 0;
}

.bg-alt {
    background-color: rgba(255, 255, 255, 0.3);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: left;
    letter-spacing: -0.02em;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    backdrop-filter: blur(10px);
    background: #F0F0F0;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 1.7rem;
    line-height: 1;
}

.brand-lockup {
    display: inline-flex;
    align-items: baseline;
    gap: 0.08em;
    font-family: var(--font-logo);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.06em;
    white-space: nowrap;
}

.brand-netz,
.brand-lab {
    color: var(--text-color);
}

.brand-bracket {
    color: var(--brand-gold);
    transform: translateY(0.02em);
}

.brand-netz {
    margin-right: 0.08em;
}

.brand-lab {
    margin-left: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    transition: opacity 0.3s ease;
}

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

.lang-toggle {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 100px;
    border: 1px solid rgba(12, 26, 48, 0.15);
    background: rgba(255, 255, 255, 0.55);
}

.lang-btn {
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-btn:hover {
    transform: translateY(-1px);
}

.lang-btn:focus-visible {
    outline: 2px solid var(--text-color);
    outline-offset: 2px;
}

.lang-btn.active {
    background: var(--text-color);
    box-shadow: 0 8px 16px rgba(12, 26, 48, 0.18);
}

/* Section 1 — Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero-logo {
    font-size: clamp(4rem, 15vw, 12rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--brand-subtitle);
    letter-spacing: 0.55em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.scroll-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Section 2 — Projects */
.project-groups {
    display: grid;
    gap: 5rem;
}

.project-group-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-group-kicker {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(12, 26, 48, 0.52);
}

.project-group-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    padding: 1.5rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(12, 26, 48, 0.08);
    box-shadow: 0 20px 40px rgba(12, 26, 48, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(12, 26, 48, 0.1);
    border-color: rgba(185, 122, 59, 0.3);
}

.project-preview {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    min-height: 130px;
    padding: 1.25rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(184, 226, 138, 0.32), rgba(255, 255, 255, 0.8));
}

.project-card-app .project-preview {
    background: linear-gradient(135deg, rgba(12, 26, 48, 0.92), rgba(35, 58, 92, 0.86));
}

.project-badge {
    width: fit-content;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-card-app .project-badge {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.project-domain {
    font-family: var(--font-logo);
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-color);
    word-break: break-word;
}

.project-card-app .project-domain {
    color: rgba(255, 255, 255, 0.86);
}

.project-copy {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.35rem;
}

.project-name {
    font-size: 1.45rem;
    line-height: 1.05;
}

.project-desc {
    color: rgba(12, 26, 48, 0.72);
    font-size: 1rem;
    line-height: 1.55;
}

.project-link {
    width: fit-content;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    border-bottom: 1px solid rgba(12, 26, 48, 0.3);
    padding-bottom: 0.12rem;
}

.project-link:hover {
    border-color: var(--brand-gold);
}

/* Section 3 — Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-block {
    padding: 3rem;
    background: var(--white);
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.service-icon {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.service-block h3 {
    font-size: 1.25rem;
    line-height: 1.2;
}

/* Section 4 — Process */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    background: var(--bg-color);
    padding: 0 2rem;
}

.step-dot {
    width: 20px;
    height: 20px;
    background: var(--text-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.step-label {
    font-weight: 600;
}

.process-line {
    position: absolute;
    top: 10px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--text-color);
    opacity: 0.2;
    z-index: 1;
}

/* Section 5 — Client Types */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.client-tag {
    padding: 1.5rem 3rem;
    background: var(--white);
    border: 1px solid rgba(12, 26, 48, 0.1);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.25rem;
}

/* Section 6 — About */
.about-flex {
    display: flex;
    gap: 4rem;
}

.about-member {
    flex: 1;
}

.member-photo {
    aspect-ratio: 1;
    background: #eef2eb;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 2rem;
    background-size: cover;
    background-position: center;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--text-color);
    background: var(--accent-color);
    opacity: 0.3;
}

.about-member h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-member p {
    font-size: 1.1rem;
    opacity: 0.6;
}

/* Section 7 — Contact */
.contact-section {
    text-align: center;
    background: var(--text-color);
    color: var(--bg-color);
    padding: 160px 0;
}

.contact-title {
    font-size: 5rem;
    margin-bottom: 4rem;
    letter-spacing: -0.03em;
}

.contact-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.btn {
    padding: 1.5rem 3.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--bg-color);
    color: var(--text-color);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-color);
    backdrop-filter: blur(5px);
}

.btn-outline {
    border: 1px solid rgba(242, 247, 237, 0.3);
    color: var(--bg-color);
}

.btn:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(12, 26, 48, 0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.2;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-right {
        gap: 1rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .about-flex {
        flex-direction: column;
    }
    .contact-title {
        font-size: 3rem;
    }
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    .nav-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .projects-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    .project-group-header {
        align-items: start;
        flex-direction: column;
    }
    .project-card {
        min-height: auto;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .hero-logo {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.32em;
        padding-left: 0.32em;
    }
}
