:root {
    --bg: #1e293b;
    --bg-soft: #f1f5f9;
    --card: rgba(255, 255, 255, 0.82);
    --card-border: rgba(148, 163, 184, 0.35);
    --text: #0f172a;
    --muted: #475569;
    --accent: #2563eb;
    --accent-soft: rgba(37, 99, 235, 0.12);
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), transparent 35%),
        linear-gradient(135deg, #e2e8f0, #f8fafc);
}

/* HEADER */

.site-header {
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1150px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 105px;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

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

.header-logo {
    height: 110px;
    width: auto;
    max-width: 360px;
    display: block;
    transition: transform 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.03);
}

.main-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--accent);
    color: var(--white);
}

/* LAYOUT */

.page-wrap {
    flex: 1;
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card,
.hero-card,
.content-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
}

.hero-card {
    width: min(760px, 100%);
    padding: 52px 48px;
    text-align: center;
}

.content-card {
    width: min(900px, 100%);
    padding: 46px;
    line-height: 1.7;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin-bottom: 24px;
    border-radius: 999px;
    color: var(--accent);
    background: var(--accent-soft);
    font-weight: 800;
}

h1 {
    margin: 0 0 20px;
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.08;
}

.content-card h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    margin-top: 30px;
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: var(--accent);
}

p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 1.05rem;
}

.status-box {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 22px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.9);
    color: var(--text);
    font-weight: 700;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* FOOTER */

.site-footer {
    background: rgba(255, 255, 255, 0.86);
    border-top: 1px solid var(--card-border);
    backdrop-filter: blur(14px);
}

.footer-inner {
    width: min(1150px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    text-align: center;
    color: var(--muted);
}

.footer-inner p {
    margin-bottom: 5px;
}

.footer-note {
    font-size: 0.95rem;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: var(--accent);
    font-weight: 700;
}

.footer-links span {
    color: #94a3b8;
    margin: 0 8px;
}

/* PROJEKTE */

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

.project-card {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px;
    transition: 0.2s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.project-card h2 {
    margin-top: 0;
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: 0.2s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    text-decoration: none;
}

.project-icon,
.project-logo {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 18px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.project-logo {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.project-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.project-content {
    flex: 1;
}

.project-content h2 {
    margin: 0 0 6px;
    color: var(--text);
}

.project-content p {
    margin: 0 0 6px;
}

.project-content span {
    color: var(--accent);
    font-weight: 700;
}

.section-divider {
    margin: 40px 0;
    border: none;
    height: 1px;
    background: rgba(148, 163, 184, 0.3);
}

/* RESPONSIVE */

@media (max-width: 760px) {
    .header-inner {
        min-height: auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 0;
    }

    .header-logo {
        height: 72px;
        max-width: 300px;
    }

    .main-nav {
        justify-content: center;
    }

    .page-wrap {
        padding: 42px 0 70px;
        align-items: flex-start;
    }

    .hero-card,
    .content-card {
        padding: 32px 24px;
        border-radius: 22px;
    }

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

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