:root {
    --primary-color: #0B2447;
    --secondary-color: #19376D;
    --accent-color: #576CBC;
    --text-color: #222222;
    --background-color: #f8f9fa;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    background-color: transparent;
    transition: all 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

body.redirected-page nav {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 2.5rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 2px 0;
    transition: 0.3s;
}

nav.scrolled .burger-line {
    background-color: var(--primary-color);
}

.hero {
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(11, 36, 71, 0.7), rgba(11, 36, 71, 0.9)), url('https://images.unsplash.com/photo-1532996122724-e3c354a0b15b?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(11, 36, 71, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.scroll-indicator svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.research-section {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.research-item {
    margin-bottom: 2.5rem;
}

.research-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.buttons {
    margin-top: 3rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white );
}

.btn.tertiary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color );
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 36, 71, 0.15);
}

.image-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Timeline Page Styles */
.timeline-page {
    padding: 8rem 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    flex: 1;
}

.timeline-page h1 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    margin-bottom: 6rem;
    position: relative;
    width: 100%;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-content img {
    width: 100%;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    padding: 4rem 2rem;
    margin-top: auto;
    color: var(--white);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    
    .burger-menu {
        display: flex;
    }
    .burger-menu.active .burger-line {
        background-color: var(--primary-color); /* Ändert die Striche auf Blau */
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        margin: 0;
        font-size: 1.2rem;
        color: var(--primary-color);
    }

    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-date {
        left: 0;
        transform: none;
        position: relative;
        display: inline-block;
        margin-bottom: 1.5rem;
        margin-left: 2rem;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0;
    }

    .timeline-item {
        padding-left: 2rem;
        margin-bottom: 4rem;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 1.5rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--primary-color);
        transform: translateX(-5px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        margin-right: 0;
        text-align: center;
    }

    /*Changes*/
    nav {
        background-color: var(--primary-color);
    }
    .hero {
        min-height: 100vh;
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 80px 1.5rem 2rem 1.5rem;
    }

    .hero-content {
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    /* Hide scroll indicator */
    .scroll-indicator {
        display: none;
    }
}

