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

:root {
    --bg: #08080c;
    --surface: rgba(20, 20, 30, 0.6);
    --border: rgba(255, 255, 255, 0.06);
    --text: #e8e8ec;
    --text-muted: #8888a0;
    --accent-1: #c9a96e;
    --accent-2: #d4876e;
    --accent-glow: rgba(201, 169, 110, 0.25);
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* ── Dot grid background ── */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* ── Header ── */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 12, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}

nav {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 2.5rem;
    padding: 1.1rem 0;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.25s;
}

nav a:hover {
    color: var(--accent-1);
}

/* ── Sections ── */

section {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

section + section {
    border-top: 1px solid var(--border);
}

h1 {
    font-size: 5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--text);
}

h2 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-1);
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

/* ── Hero ── */

#hero {
    text-align: center;
    padding-top: 8rem;
    padding-bottom: 8rem;
    border-top: none;
    position: relative;
}

#hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.profile {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 2px solid rgba(201, 169, 110, 0.3);
    box-shadow: 0 0 60px rgba(201, 169, 110, 0.12);
}

.tagline {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── About ── */

#about p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 680px;
}

/* ── Ventures ── */

.venture {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.venture:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.venture.primary {
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--accent-1), var(--accent-2)) 1;
    box-shadow: 0 0 24px var(--accent-glow), inset 0 0 24px rgba(201, 169, 110, 0.03);
}

.venture.primary:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
}

.venture.past {
    opacity: 0.55;
    font-size: 0.9rem;
    transition: opacity 0.3s, transform 0.3s;
}

.venture.past:hover {
    opacity: 0.75;
    transform: translateY(-1px);
}

.venture.past .venture-logo {
    opacity: 1;
}

.venture.past h3 {
    font-size: 1.1rem;
}

.venture-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    object-fit: contain;
    flex-shrink: 0;
    background: rgba(8, 8, 12, 0.8);
    padding: 6px;
    border: 1px solid var(--border);
}

.venture.primary .venture-logo {
    box-shadow: 0 0 20px var(--accent-glow);
}

.venture p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

.venture.past p {
    font-size: 0.85rem;
}

.year {
    font-weight: 500;
    color: var(--accent-2);
    font-size: 0.78rem;
    margin-left: 0.4rem;
    letter-spacing: 0.02em;
}

.venture-link {
    color: var(--accent-1);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.25s;
}

.venture-link:hover {
    color: var(--accent-2);
}

/* ── Contact ── */

#contact p {
    margin-bottom: 1.5rem;
}

#contact a {
    color: var(--accent-1);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s;
}

#contact a:hover {
    color: var(--accent-2);
}

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

.social a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.25s, transform 0.25s;
    line-height: 1;
}

.social a:hover {
    color: var(--accent-1);
    transform: translateY(-2px);
}

/* ── Footer ── */

footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ── Mobile ── */

@media (max-width: 600px) {
    section {
        padding: 4rem 1.25rem;
    }

    #hero {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    h1 {
        font-size: 3.2rem;
    }

    .profile {
        width: 140px;
        height: 140px;
    }

    .venture {
        flex-direction: column;
        gap: 1rem;
    }

    .venture-logo {
        width: 52px;
        height: 52px;
    }

    nav {
        gap: 1.5rem;
    }
}

/* ── www.heiter.lu landing card ── */

#www-landing {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg);
}

.www-card {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.www-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.www-line {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
}

.www-footer {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 3rem;
}
