:root {
    --bg: #0f1115;
    --bg-soft: #171a21;
    --card: #1f232d;
    --card-hover: #272c38;
    --text: #f2f2f2;
    --muted: #b5b8c2;
    --accent: #d99a2b;
    --border: #323846;
    --max-width: 1120px;
}

/* Reset */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header / Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 17, 21, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

/* Hero */

.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(217, 154, 43, 0.16), transparent 34%),
        linear-gradient(180deg, #12151b 0%, var(--bg) 100%);
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 90px 20px;
}

.eyebrow,
.section-kicker {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-text {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.15rem;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

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

.btn-primary {
    background: var(--accent);
    color: #151515;
}

.btn-primary:hover {
    background: #f0ae3b;
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
    border-color: var(--accent);
}

/* Sections */

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 90px 20px;
}

.section-dark {
    max-width: none;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-dark > .section-header,
.section-dark > .discord-card,
.section-dark > .link-box {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 34px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

/* About */

.about-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
}

.about-box p {
    color: var(--muted);
    margin-bottom: 18px;
}

.about-box p:last-child {
    margin-bottom: 0;
}

.about-box strong {
    color: var(--text);
}

/* Discord */

.discord-card {
    background: linear-gradient(135deg, var(--card), #25210f);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.discord-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.discord-card p {
    color: var(--muted);
    max-width: 760px;
}

.discord-card-with-widget {
    align-items: stretch;
}

.discord-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.discord-info .btn {
    margin-top: 24px;
    width: fit-content;
}

.discord-widget {
    width: 350px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #111318;
    flex-shrink: 0;
}

.discord-widget iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

/* Projekte */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--card), #1a1e27);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    background: var(--card-hover);
    border-color: rgba(217, 154, 43, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.project-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.project-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 154, 43, 0.12);
    border: 1px solid rgba(217, 154, 43, 0.32);
    border-radius: 12px;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.project-status {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.status-active {
    color: #151515;
    background: var(--accent);
}

.status-base {
    color: #f2f2f2;
    background: #4f5665;
}

.status-community {
    color: #f2f2f2;
    background: #5865f2;
}

.status-hll {
    color: #151515;
    background: #c7a66b;
}

.status-online {
    color: #151515;
    background: #67d38c;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tech-list span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.82rem;
}

.project-card a {
    color: var(--accent);
    font-weight: 800;
}

/* Weitere Repositories */

.repo-list {
    margin-top: 34px;
    background: linear-gradient(180deg, var(--card), #1a1e27);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
}

.repo-list h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.repo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.repo-links a {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.9rem;
    word-break: break-word;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.repo-links a:hover {
    color: var(--accent);
    border-color: rgba(217, 154, 43, 0.45);
    transform: translateY(-2px);
}

/* Links / Kontakt */

.link-box {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.link-box a {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: 10px;
    color: var(--text);
    font-weight: 700;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.link-box a:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Footer */

.footer {
    text-align: center;
    padding: 28px 20px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    background: #0b0d11;
}

/* Mobile */

@media (max-width: 760px) {
    .navbar {
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 70px 20px;
    }

    .section {
        padding: 70px 20px;
    }

    .discord-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .discord-widget {
        width: 100%;
    }

    .discord-widget iframe {
        width: 100%;
    }

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

    .project-topline {
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .hero-buttons,
    .link-box {
        flex-direction: column;
    }

    .btn,
    .link-box a {
        width: 100%;
    }

    .project-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-status {
        white-space: normal;
    }
}