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

:root {
    --blue-900: #0c1f42;
    --blue-800: #122b5a;
    --blue-700: #1a3c7a;
    --blue-600: #2350a0;
    --blue-100: #dce6f5;
    --blue-50: #f0f4fa;
    --white: #ffffff;
    --gray-50: #f7f8fa;
    --gray-100: #eef0f4;
    --gray-200: #dde0e7;
    --gray-400: #9ca3b0;
    --gray-600: #5a6170;
    --gray-800: #1c2030;
    --radius: 12px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px }

/* ---- Scroll Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s }
.fade-in-delay-2 { transition-delay: 0.2s }
.fade-in-delay-3 { transition-delay: 0.3s }

/* ---- Utilities ---- */
.overline {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-600);
    margin-bottom: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-primary { background: var(--blue-700); color: var(--white) }
.btn-primary:hover { background: var(--blue-800); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(12,31,66,0.3) }
.btn-white { background: var(--white); color: var(--blue-900) }
.btn-white:hover { background: var(--blue-50); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,255,255,0.2) }
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px) }
.btn-full { width: 100% }

.section-header { margin-bottom: 48px }
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ---- Nav ---- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(12, 31, 66, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.06em;
}

.nav-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-cta:hover { background: rgba(255,255,255,0.1) }

/* ---- Hero ---- */
.hero {
    background: var(--blue-900);
    padding: 140px 24px 80px;
    overflow: hidden;
}

.hero-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--blue-100);
    background: rgba(255,255,255,0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-400);
    max-width: 440px;
    margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap }

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: invert(1) grayscale(1) brightness(1.5);
}

/* ---- Facts ---- */
.facts {
    padding: 56px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    z-index: 1;
}

.facts-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.fact { text-align: center }

.fact-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--blue-700);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.fact-label {
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.fact-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
}

/* ---- Programm ---- */
.programm {
    padding: 96px 24px;
    background: var(--gray-50);
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
    box-shadow: 0 12px 40px rgba(12,31,66,0.1);
    transform: translateY(-4px);
}

.card-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--blue-600);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--gray-600);
}

/* ---- Zeitplan ---- */
.zeitplan {
    padding: 96px 24px;
    background: var(--white);
}

.timeline {
    max-width: 560px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 47px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--gray-200);
}

.tl-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 14px 0;
    position: relative;
}

.tl-time {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-400);
    min-width: 36px;
    text-align: right;
    padding-top: 2px;
}

.tl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-200);
    flex-shrink: 0;
    margin-top: 5px;
    position: relative;
    z-index: 1;
}

.tl-item.active .tl-time { color: var(--blue-700) }
.tl-item.active .tl-dot { background: var(--blue-700); box-shadow: 0 0 0 4px var(--blue-100) }
.tl-item.special .tl-dot { background: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100) }

.tl-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.tl-content span {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.tl-item.special .tl-content strong { color: var(--blue-700) }

/* ---- Anmeldung ---- */
.anmeldung {
    padding: 96px 24px;
    background: var(--blue-900);
    position: relative;
    overflow: hidden;
}

.anmeldung::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35,80,160,0.25), transparent 70%);
    pointer-events: none;
}

.anmeldung::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35,80,160,0.15), transparent 70%);
    pointer-events: none;
}

.form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-header { margin-bottom: 40px }
.form-header .overline { color: var(--blue-100) }
.form-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.form-header p { color: var(--gray-400); font-size: 1rem }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.field input,
.field select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--white);
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.field select option { background: var(--blue-900); color: var(--white) }

.field input::placeholder { color: rgba(255,255,255,0.25) }
.field input:focus, .field select:focus {
    outline: none;
    border-color: var(--blue-600);
    background: rgba(255,255,255,0.1);
}

.anmeldung .btn-primary {
    background: var(--white);
    color: var(--blue-900);
    font-weight: 700;
    margin-top: 8px;
}
.anmeldung .btn-primary:hover { background: var(--blue-50); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,255,255,0.15) }

.msg {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}
.msg-ok {
    background: rgba(52, 211, 153, 0.12);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.2);
}
.msg-err {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

/* ---- Footer ---- */
footer {
    background: var(--blue-900);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px 24px 56px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.06em;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 2px;
}

.footer-contact .overline { color: var(--gray-400) }
.footer-contact a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
}
.footer-contact a:hover { text-decoration: underline }

.footer-sponsors {
    background: var(--white);
    margin: 0 -24px -56px;
    padding: 36px 40px;
    border-radius: var(--radius) var(--radius) 0 0;
}
.footer-sponsors .overline { color: var(--gray-600); margin-bottom: 20px }

.sponsor-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 32px;
}

.sponsor-row img {
    width: 100%;
    height: 40px;
    object-fit: contain;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero { padding: 120px 24px 60px }
    .hero::after { height: 80px }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-sub { margin-left: auto; margin-right: auto }
    .hero-actions { justify-content: center }
    .hero-image { order: -1 }
    .hero-image img { max-width: 260px; }

    .facts-grid {
        flex-direction: column;
        gap: 32px;
    }
    .fact-divider { width: 48px; height: 1px }

    .cards { grid-template-columns: 1fr }

    .field-row { grid-template-columns: 1fr }

    .footer-top {
        flex-direction: column;
        gap: 24px;
    }

    .sponsor-row img { height: 32px; max-width: 120px }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem }
    .hero-actions { flex-direction: column }
    .hero-actions .btn { width: 100% }
}