/* ===== Local Poppins Font ===== */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
    --primary-color: #c41e3a;
    --primary-dark: #9a1830;
    --primary-light: #e63950;
    --secondary-color: #ff6b35;
    --text-color: #333;
    --text-light: #666;
    --background: #fff;
    --background-alt: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--background);
}

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

h1, h2, h3, h4 {
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Navigation ===== */
.navbar {
    background: var(--background);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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



.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-color);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #8B0000 0%, #c41e3a 50%, #a01830 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.anniversary-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    justify-content: center;
    margin-bottom: 30px;
}

.anniversary-badge .years {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.anniversary-badge .text {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.divider {
    width: 100px;
    height: 4px;
    background: white;
    margin: 30px auto;
    border-radius: 2px;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.hero .date {
    font-size: 1.8rem;
    font-weight: 700;
}

/* ===== Countdown Section ===== */
.countdown-section {
    background: var(--background-alt);
    padding: 80px 20px;
    text-align: center;
}

.countdown-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: white;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-width: 120px;
}

.countdown-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

.countdown-finished {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== Intro Section ===== */
.intro-section {
    padding: 100px 20px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.intro-cards {
    display: grid;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== Highlights Section ===== */
.highlights-section {
    background: var(--background-alt);
    padding: 100px 20px;
}

.highlights-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-date {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

.highlight-content {
    padding: 25px;
}

.highlight-content h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.highlight-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, #8B0000 0%, #c41e3a 50%, #a01830 100%);
    color: white;
    padding: 150px 20px 80px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* ===== Program Section ===== */
.program-section {
    padding: 80px 20px;
}

.program-day {
    margin-bottom: 80px;
}

.day-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.day-date {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 150px;
}

.day-name {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.day-number {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.day-header h2 {
    font-size: 2rem;
    color: var(--text-color);
}

.program-timeline {
    position: relative;
    padding-left: 40px;
}

.program-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e0e0e0;
}

.program-item {
    position: relative;
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.program-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 28px;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

.program-item.highlight::before {
    background: var(--primary-color);
}

.program-time {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
    font-size: 1.1rem;
}

.program-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.program-content p {
    color: var(--text-light);
}

/* ===== Info Section ===== */
.info-section {
    background: var(--background-alt);
    padding: 80px 20px;
}

.info-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.info-box p {
    color: var(--text-light);
}

/* ===== History Sections ===== */
.history-intro {
    padding: 80px 20px;
}

.history-intro-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
}

.anniversary-emblem {
    flex-shrink: 0;
}

.history-intro-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.history-intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ===== Timeline ===== */
.timeline-section {
    background: var(--background-alt);
    padding: 80px 20px;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

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

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

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 1;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 55%;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

.timeline-item.current .timeline-year {
    background: var(--secondary-color);
    font-size: 1.3rem;
    padding: 15px 25px;
}

.timeline-item.current .timeline-content {
    border: 2px solid var(--secondary-color);
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 80px 20px;
    text-align: center;
}

.stats-section h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* ===== Quote Section ===== */
.quote-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.quote-section blockquote p {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-section cite {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: var(--background-alt);
}

.cta-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ===== Footer ===== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-links {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 15px;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer .copyright {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 20px;
}

/* ===== Legal Pages ===== */
.legal-section {
    padding: 80px 20px;
    background: var(--background-alt);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-box {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.legal-box h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.legal-box h3 {
    color: var(--text-color);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.legal-box h4 {
    color: var(--text-color);
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.legal-box p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-box ul {
    margin: 15px 0 15px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

.legal-box li {
    margin-bottom: 10px;
}

.back-link {
    text-align: center;
    margin-top: 40px;
}

.legal-source {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* ===== News Page ===== */
.news-date-sub {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.85;
    display: block;
    margin-top: 4px;
}

/* ===== Über uns Page ===== */
.section-lead {
    max-width: 700px;
    margin: -20px auto 50px;
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.9;
}

.info-box {
    transition: var(--transition);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-box .card-icon {
    display: block;
    margin-bottom: 15px;
}

.info-box h3 {
    color: var(--primary-color);
}

.about-contact-box {
    display: inline-block;
    margin-top: 10px;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.9;
}

.about-contact-box a {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ===== Fahrzeuge Section ===== */
.fahrzeuge-section {
    padding: 100px 20px;
    background: var(--background);
}

.fahrzeuge-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.fahrzeuge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.fahrzeug-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.fahrzeug-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fahrzeug-body {
    display: flex;
    flex-direction: row;
}

.fahrzeug-img-wrap {
    flex: 0 0 auto;
    overflow: hidden;
    background: #f7f7f7;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 12px;
}

.fahrzeug-img-wrap img {
    display: block;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    height: 140px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.fahrzeug-placeholder {
    display: none;
}

.fahrzeug-card .highlight-date {
    font-size: 1.1rem;
    border-radius: 0;
    padding: 14px 20px;
    letter-spacing: 0.5px;
}

.fahrzeug-details {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fahrzeug-typ {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
}

.fahrzeug-facts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fahrzeug-facts li {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 5px 0 5px 18px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.fahrzeug-facts li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.fahrzeug-facts li:last-child {
    border-bottom: none;
}

@media (max-width: 1024px) {
    .fahrzeuge-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .fahrzeug-body {
        flex-direction: column;
    }
    .fahrzeug-img-wrap {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .fahrzeug-img-wrap img {
        width: 100%;
        height: 200px;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .history-intro-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .anniversary-emblem {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: var(--shadow);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 20px 15px;
    }
    
    .day-header {
        flex-direction: column;
        text-align: center;
    }
    
    .program-timeline {
        padding-left: 30px;
    }
    
    .program-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .program-item::before {
        left: -30px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        left: 20px;
        transform: none;
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        text-align: left;
        padding-left: 50px;
    }
    
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        margin: 40px 0 0 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .quote-section blockquote p {
        font-size: 1.5rem;
    }
    
    .page-header {
        padding: 120px 20px 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .legal-box {
        padding: 25px;
    }
    
    .legal-box h2 {
        font-size: 1.5rem;
    }
    
    .footer-links a {
        display: inline-block;
        margin: 5px 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .anniversary-badge {
        width: 120px;
        height: 120px;
    }
    
    .anniversary-badge .years {
        font-size: 3rem;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    margin-bottom: 20px;
}

/* ===== Hero Animations ===== */

/* Aufsteigende Partikel (Funken) */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffd700 0%, #ff6b35 50%, transparent 70%);
    border-radius: 50%;
    bottom: -20px;
    animation: rise 8s ease-in infinite;
    opacity: 0;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 9s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 6s; }
.particle:nth-child(4) { left: 40%; animation-delay: 0.5s; animation-duration: 8s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 7s; }
.particle:nth-child(6) { left: 60%; animation-delay: 1.5s; animation-duration: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 0.8s; animation-duration: 9s; }
.particle:nth-child(9) { left: 90%; animation-delay: 3.5s; animation-duration: 7s; }
.particle:nth-child(10) { left: 15%; animation-delay: 4s; animation-duration: 8s; }
.particle:nth-child(11) { left: 45%; animation-delay: 2s; animation-duration: 11s; }
.particle:nth-child(12) { left: 75%; animation-delay: 1s; animation-duration: 7s; }

@keyframes rise {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(1);
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: translateX(20px) scale(0.3);
    }
}

/* Pulsierende Ringe um das Badge */
.badge-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: pulse-ring 3s ease-out infinite;
    pointer-events: none;
}

.badge-ring:nth-child(1) {
    animation-delay: 0s;
}

.badge-ring:nth-child(2) {
    animation-delay: 1s;
}

.badge-ring:nth-child(3) {
    animation-delay: 2s;
}

@keyframes pulse-ring {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }
    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}

/* Glühender Text-Effekt für die Überschrift */
.hero h1 {
    animation: glow-text 3s ease-in-out infinite alternate;
}

@keyframes glow-text {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 107, 53, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 215, 0, 0.5), 0 0 80px rgba(255, 107, 53, 0.3);
    }
}

/* Animierter Gradient im Hero */
.hero {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Flammen-Effekt am unteren Rand */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 107, 53, 0.3), transparent);
    animation: flicker 2s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes flicker {
    0%, 100% {
        opacity: 0.5;
        height: 100px;
    }
    25% {
        opacity: 0.7;
        height: 120px;
    }
    50% {
        opacity: 0.4;
        height: 90px;
    }
    75% {
        opacity: 0.8;
        height: 110px;
    }
}
/* ===== Chronik Timeline ===== */
.chronik-section {
    padding: 100px 24px;
    background: var(--background-alt);
}

.chronik-section h2 {
    text-align: center;
    margin-bottom: 70px;
    color: var(--primary-color);
}

.chronik-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 80px;
}

.chronik-timeline::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.chronik-item {
    position: relative;
    margin-bottom: 40px;
    padding: 28px 32px;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.chronik-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.chronik-item.highlight {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.chronik-item.highlight .chronik-jahr {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.4);
}

.chronik-jahr {
    position: absolute;
    left: -80px;
    top: 24px;
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.chronik-content h3 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 1.3rem;
}

.chronik-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .chronik-timeline {
        padding-left: 60px;
    }
    .chronik-timeline::before {
        left: 20px;
    }
    .chronik-jahr {
        left: -55px;
        width: 50px;
        height: 50px;
        font-size: 0.85rem;
    }
    .chronik-item {
        padding: 20px 24px;
    }
}
/* ===== Verstärkte Feuer-Animationen ===== */

/* Größere, leuchtendere Partikel */
.particle {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #fff 0%, #ffd700 20%, #ff6b35 50%, #c41e3a 80%, transparent 100%);
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ff6b35, 0 0 30px #c41e3a;
}

/* Stärkerer Flammen-Effekt am unteren Rand */
.hero::after {
    height: 150px;
    background: linear-gradient(to top, 
        rgba(255, 107, 53, 0.5) 0%, 
        rgba(255, 107, 53, 0.3) 30%, 
        rgba(196, 30, 58, 0.2) 60%, 
        transparent 100%);
}

@keyframes flicker {
    0%, 100% {
        opacity: 0.7;
        height: 150px;
    }
    25% {
        opacity: 0.9;
        height: 180px;
    }
    50% {
        opacity: 0.6;
        height: 130px;
    }
    75% {
        opacity: 1;
        height: 170px;
    }
}

/* Stärkerer Glow-Effekt für Text */
@keyframes glow-text {
    0% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.7), 0 0 60px rgba(255, 107, 53, 0.5), 0 0 90px rgba(255, 215, 0, 0.3);
    }
    100% {
        text-shadow: 0 0 50px rgba(255, 255, 255, 1), 0 0 100px rgba(255, 215, 0, 0.7), 0 0 150px rgba(255, 107, 53, 0.5);
    }
}

/* Veranstaltungsort Styling */
.location {
    font-size: 1.3rem;
    margin-top: 20px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse-location 2s ease-in-out infinite;
}

@keyframes pulse-location {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

/* Pulsierende Ringe entfernen */
.badge-ring {
    display: none;
}
/* ===== Korrekturen ===== */

/* Leuchteffekt bei Überschrift entfernen */
.hero h1 {
    animation: none;
    text-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Location im gleichen Style wie die anderen Texte */
.location {
    font-size: 1.2rem;
    margin-top: 15px;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    display: block;
    border: none;
    animation: none;
    box-shadow: none;
    opacity: 0.95;
}

/* Logo im Header klein halten */
.logo img,
.logo-img,
.logo-image {
    height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
}
