/* ============================================
   Quanten-Algorithmen Quellen
   Minimalistisches Design: Rot, Schwarz, Weiß
   ============================================ */

:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-red: #dc2626;
    --color-red-dark: #b91c1c;
    --color-red-light: #fef2f2;
    --color-gray-light: #fafafa;
    --color-gray: #e5e5e5;
    --color-gray-text: #525252;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.7;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
header {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle quantum glow behind header */
.header-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.header-accent {
    width: 60px;
    height: 4px;
    background: var(--color-red);
    margin: 0 auto 32px;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: var(--color-black);
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-text);
    font-weight: 400;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.context {
    font-size: 0.875rem;
    color: var(--color-gray-text);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.authors {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.authors span {
    font-size: 0.9375rem;
    color: var(--color-black);
    font-weight: 500;
}

.authors .separator {
    color: var(--color-red);
    font-weight: 700;
}

.event {
    margin-top: 20px;
    font-size: 0.8125rem;
    color: var(--color-gray-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

/* Main Content */
main {
    padding: 48px 0 80px;
}

/* Sections */
.sources-section {
    margin-bottom: 56px;
}

.sources-section:last-child {
    margin-bottom: 0;
}

.sources-section h2 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-white);
    background: var(--color-red);
    padding: 8px 16px;
    margin-bottom: 24px;
    display: inline-block;
    border-radius: 2px;
}

/* Source Cards */
.source-card {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 8px;
    background: var(--color-gray-light);
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.source-card:hover {
    background: var(--color-red-light);
    border-left-color: var(--color-red);
}

.source-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-red);
    min-width: 32px;
    flex-shrink: 0;
}

.source-content {
    flex: 1;
}

.citation {
    font-size: 0.9375rem;
    color: var(--color-black);
    line-height: 1.7;
}

.citation a {
    color: var(--color-red);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.citation a:hover {
    color: var(--color-red-dark);
    text-decoration: underline;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid var(--color-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.poster-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    text-decoration: none;
    padding: 10px 24px;
    border: 1.5px solid var(--color-red);
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.poster-link:hover {
    background: var(--color-red);
    color: var(--color-white);
}

footer p {
    font-size: 0.8125rem;
    color: var(--color-gray-text);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 60px 0 40px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .context {
        font-size: 0.8125rem;
    }

    .header-glow {
        width: 280px;
        height: 140px;
    }

    .authors {
        gap: 8px;
    }

    .authors span {
        font-size: 0.875rem;
    }

    main {
        padding: 32px 0 60px;
    }

    .source-card {
        padding: 16px 20px;
        gap: 12px;
    }

    .citation {
        font-size: 0.875rem;
    }
}