/* Basis-Styles */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #232526, #414345);
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #f9f9f9;
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Topbar Styles */
.topbar {
    width: 100%;
    background: rgba(34,37,38,0.98);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 64px;
    box-sizing: border-box;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.logo {
    font-size: 1.7rem;
    font-weight: bold;
    color: #6dd5ed;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    min-width: 0;
    flex-wrap: wrap;
}

.nav-link {
    color: #f9f9f9;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 18px;
    transition: background 0.2s, color 0.2s;
    white-space: normal;
    word-break: break-word;
    display: inline-block;
    max-width: 150px;
    text-align: center;
}

.nav-link.active,
.nav-link:hover {
    background: linear-gradient(90deg, #3a8dde, #6dd5ed);
    color: #232526;
}

/* Abstand für Main-Content wegen fester Topbar */
main {
    margin-top: 80px;
}

/* Info-Container */
.info-container {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.info-box {
    background: rgba(255,255,255,0.07);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    padding: 40px 35px;
    width: 100%;
    max-width: 550px;
    min-height: 350px;
    color: #f9f9f9;
    font-size: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #6dd5ed;
}

.info-box ul {
    padding-left: 22px;
    margin-top: 18px;
}

.info-box li {
    margin-bottom: 14px;
    line-height: 1.6;
}

/* Timeline (Roadmap) Styles */
.timeline-container {
    background: rgba(255,255,255,0.09);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    padding: 40px 35px;
    margin: 0 auto 40px auto;
    max-width: 1200px;
    width: 90%;
    color: #f9f9f9;
    font-size: 1.15rem;
}

.timeline-container h2 {
    color: #6dd5ed;
    margin-top: 0;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 32px;
    padding-bottom: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: linear-gradient(90deg, #3a8dde, #6dd5ed);
    z-index: 0;
}

.timeline-item {
    opacity: 0;
    transform: translateY(40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    flex: 1;
    position: relative;
    z-index: 1;
    transition: opacity 0.8s, transform 0.8s;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: linear-gradient(90deg, #3a8dde, #6dd5ed);
    border-radius: 50%;
    border: 4px solid #232526;
    margin-bottom: 12px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(58,141,222,0.2);
}

.timeline-content {
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 12px 18px;
    text-align: center;
    margin-top: 10px;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.timeline-date {
    font-weight: bold;
    color: #6dd5ed;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 6px;
}

.timeline-text {
    font-size: 1rem;
    color: #f9f9f9;
}

/* Download-Manager Tabelle */
.download-container {
    background: rgba(255,255,255,0.09);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    padding: 40px 35px;
    margin: 0 auto 40px auto;
    max-width: 700px;
    width: 90%;
    color: #f9f9f9;
    font-size: 1.15rem;
}

.download-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 28px;
}
.download-table th,
.download-table td {
    max-width: 180px;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px 8px;
    text-align: left;
}
.download-table th {
    background: #eaeaea;
    color: #444;
}
.download-table tr:nth-child(even) {
    background: #f4f4f4;
    color: #232526;
}
.download-table tr:nth-child(odd) {
    background: rgba(255,255,255,0.02);
}
.download-table .download-btn {
    padding: 7px 16px;
    font-size: 1rem;
    background: linear-gradient(90deg, #3a8dde, #6dd5ed);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.download-table .download-btn:hover {
    background: #217dbb;
}

/* Animationen */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards;
}
.slide-in {
    opacity: 0;
    transform: translateY(40px);
    animation: slideIn 1.2s 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes slideIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .info-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin: 20px 0;
    }
    .info-box {
        max-width: unset;
        width: 100%;
        box-sizing: border-box;
        padding: 28px 12px;
    }
    .timeline {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline::before {
        top: 0;
        left: 34px;
        right: auto;
        width: 4px;
        height: calc(100% - 40px);
        background: linear-gradient(180deg, #3a8dde, #6dd5ed);
    }
    .timeline-item {
        flex-direction: row;
        align-items: center;
        margin-bottom: 40px;
        min-width: 0;
    }
    .timeline-dot {
        margin: 0 20px 0 0;
    }
    .timeline-content {
        margin-top: 0;
    }
}

@media (max-width: 700px) {
    .download-container {
        padding: 20px 5px;
    }
    .download-table th, .download-table td {
        padding: 8px 4px;
    }
}

@media (max-width: 600px) {
    .topbar {
        position: static;
        background: none;
        box-shadow: none;
        height: auto;
        padding: 0;
        display: block;
        text-align: center;
        margin-bottom: 0;
    }
    .logo {
        font-size: 1.4rem;
        color: #6dd5ed;
        font-weight: bold;
        margin: 24px 0 16px 0;
        padding: 0;
        letter-spacing: 2px;
        display: block;
        text-align: center;
    }
    .nav {
        display: none;
    }
    main {
        margin-top: 0;
    }
}

