/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-blue: #286e9a;
    --primary-green: #28a28b;
    --green-text: #1b7a68;
    --gradient-start: #312466;
    --gradient-mid: #286e9a;
    --gradient-end: #1b7a68;
    --gradient-light: linear-gradient(135deg, #5fa3cc, #3cc3a5);
    --text-dark: #16252d;
    --text-light: #f4f7f8;
    --text-muted: #5e6e74;
    --bg-light: #ffffff;
    --bg-off-white: #f4f7f8;
    --border-color: #e3eaec;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 3000;
    padding: 0.6rem 1.2rem;
    border-radius: 0 0 10px 10px;
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 2rem;
}

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

.navbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher-container {
    display: flex;
    background: var(--bg-off-white);
    border-radius: 25px;
    padding: 3px;
    position: relative;
    width: 90px;
    height: 34px;
}

.lang-switcher-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 42px;
    height: 28px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 18px;
    transition: transform 0.3s ease;
    z-index: 0;
}

.lang-switcher button {
    background: none;
    border: none;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    flex: 1 1 0;
}

.lang-switcher button.active {
    color: white;
}

.lang-switcher button:hover:not(.active) {
    color: var(--text-dark);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    transition: width 0.3s ease;
}

.navbar-nav a:hover::after {
    width: 100%;
}

.navbar-nav a:hover {
    color: var(--green-text);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
    color: var(--text-light);
}

.hero-logo {
    width: 450px;
    height: auto;
    margin: 40px auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img,
.hero-logo svg {
    width: 350px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hero-logo svg {
    overflow: visible;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.hero-acronym {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

.innont-badge {
    position: absolute;
    top: 6rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    text-align: right;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.innont-badge:hover {
    transform: translateY(-5px);
}

.innont-logo {
    display: block;
    width: 220px;
    height: auto;
}

/* Section Styles */
.section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.research-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.research-area {
    flex: 0 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    min-width: 200px;
}

.research-area {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.research-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.research-area-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.research-area h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.research-area p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Team Section */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: calc(3 * 300px + 2 * 2rem);
    margin: 0 auto;
}

.team-card,
.partner-card {
    flex: 0 1 300px;
    max-width: 320px;
    width: 100%;
}

.team-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.team-card > * {
    margin-bottom: 0.25rem;
}

.team-card > .team-social {
    margin-top: auto;
    margin-bottom: 0;
}

.team-card > .team-affiliation {
    margin-bottom: 0.5rem;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: 600;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.95rem;
    color: var(--green-text);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-affiliation {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #0077b5;
    color: white;
}

.project-leader,
.subproject-leader {
    border: 2px solid var(--primary-green);
    position: relative;
}

.project-leader::before,
.subproject-leader::before {
    content: 'Leitung Gesamtvorhaben';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.subproject-leader::before {
    content: 'Leitung Teilvorhaben';
}

#team .team-grid {
    max-width: calc(4 * 250px + 3 * 1.5rem);
    gap: 1.75rem 1.5rem;
}

.team-break {
    flex-basis: 100%;
    height: 0;
}

#team .team-card {
    flex: 0 1 250px;
    max-width: 250px;
    padding: 1.5rem 1rem 1.25rem;
}

#team .team-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

#team .team-title {
    font-size: 0.75rem;
}

#team .team-name {
    font-size: 1.05rem;
}

#team .team-role {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

#team .team-affiliation {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

#team .team-social a {
    width: 32px;
    height: 32px;
}

#team .project-leader::before,
#team .subproject-leader::before {
    font-size: 0.7rem;
    padding: 0.2rem 0.75rem;
}

#team .project-leader {
    border: 3px solid transparent;
    background:
        linear-gradient(var(--bg-light), var(--bg-light)) padding-box,
        linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end)) border-box;
    box-shadow: 0 10px 35px rgba(40, 110, 154, 0.18);
}

#team .project-leader::before {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
}

#team .project-leader .team-avatar {
    width: 96px;
    height: 96px;
}

html[lang="en"] .project-leader::before {
    content: 'Overall Project Lead';
}

html[lang="en"] .subproject-leader::before {
    content: 'Subproject Lead';
}

.partner-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

a.partner-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.partner-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.partner-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.partner-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.consortium-leader {
    border: 2px solid var(--primary-green);
    position: relative;
}

.consortium-leader::before {
    content: 'Konsortialführung';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

html[lang="en"] .consortium-leader::before {
    content: 'Consortium Lead';
}

/* Termine Section */
.termine {
    background: var(--bg-off-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 50%;
    top: 2.5rem;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.news-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.event-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(40, 162, 139, 0.3);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--green-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.event-card {
    border: 2px solid var(--primary-green);
    background: linear-gradient(135deg, rgba(40, 162, 139, 0.05), rgba(40, 110, 154, 0.05));
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(40, 162, 139, 0.2);
}

.event-card[data-modal] {
    cursor: pointer;
}

.event-more {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-text);
}

.event-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-invite {
    display: block;
    margin-top: 1rem;
    padding: 0.65rem 0.9rem;
    border-left: 3px solid var(--primary-green);
    border-radius: 0 8px 8px 0;
    background: rgba(40, 162, 139, 0.08);
    font-size: 0.88rem;
    color: var(--text-dark);
}

.event-invite + .event-more {
    display: block;
}

.event-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 110, 154, 0.3);
}

button.event-cta {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.event-badge.past {
    background: #5E6E74;
}

.news-image.photo {
    padding: 0;
    overflow: hidden;
}

.news-image.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content p + p {
    margin-top: 0.75rem;
}

.news-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 1.25rem 0 0.25rem;
}

.news-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.2s ease;
}

.news-gallery a:hover img {
    transform: scale(1.04);
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.event-cta.ghost {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 37, 45, 0.6);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    background: var(--bg-light);
    border-radius: 15px;
    border-top: 4px solid var(--primary-green);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 2.5rem 2.5rem 2rem;
}

.modal-dialog h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.modal-dialog h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
}

.modal-text {
    margin-top: 1rem;
    color: var(--text-muted);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    border: none;
    background: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-close:focus {
    outline: none;
}

.modal-close:focus-visible {
    outline: 2px solid var(--primary-green);
    border-radius: 4px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.schedule-table td {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table .schedule-time {
    width: 8.5rem;
    padding-right: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.event-address {
    margin-top: 0.15rem;
    padding-left: 1.3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-address a {
    color: var(--green-text);
    font-weight: 600;
    text-decoration: none;
}

.event-address a:hover {
    text-decoration: underline;
}

.event-location {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Publikationen Section */
.publikationen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.publikation-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publikation-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.publikation-type {
    display: inline-block;
    background: var(--bg-off-white);
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.publikation-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.publikation-authors {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.publikation-year {
    font-size: 0.9rem;
    color: var(--green-text);
    font-weight: 600;
}

.publikation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--green-text);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.publikation-link:hover {
    gap: 0.75rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-partners {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-partner {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    color: inherit;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-partner:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

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

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

.footer-column ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: inherit;
}

.footer-bottom a:hover {
    color: var(--primary-green);
}

.funding-notice {
    background: #ffffff;
    color: var(--text-dark);
    padding: 1.5rem 1.5rem 1.1rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.funding-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem 4rem;
    margin-bottom: 1.1rem;
}

.funding-logo {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.funding-logo figcaption {
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.funding-logo img {
    display: block;
    height: 88px;
    width: auto;
}

.funding-logo a img {
    height: 64px;
}

.funding-notice p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .research-areas {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }

    .navbar-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 4rem 1rem 3rem;
    }

    .hero-logo {
        width: 280px;
        margin: 20px auto 1rem;
    }

    .hero-logo img,
    .hero-logo svg {
        width: 200px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-acronym {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .hero-stat-value {
        font-size: 1.8rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .innont-badge {
        display: none;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 10px !important;
    }

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

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

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

    .lang-switcher {
        display: none;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 0.75rem;
    }

    .modal-dialog {
        padding: 2rem 1.25rem 1.5rem;
    }

    .schedule-table .schedule-time {
        width: 6.5rem;
        padding-right: 0.5rem;
    }

    #team .team-card {
        flex-basis: calc(50% - 0.75rem);
    }

    #team .project-leader::before {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .hero {
        padding: 3rem 1rem 2rem;
    }

    .hero-logo {
        width: 240px;
        margin: 15px auto 0.75rem;
    }

    .hero-logo img {
        width: 160px;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-acronym {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-stat-value {
        font-size: 1.8rem;
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }
}
