@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=MedievalSharp&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
    --gold: #d4af37;
    --dark-gold: #b8860b;
    --burgundy: #8b0000;
    --dark-burgundy: #5c0000;
    --forest-green: #1b4d3e;
    --dark-green: #0f2922;
    --parchment: #f4e8d0;
    --dark-parchment: #d4c4a8;
    --text-dark: #2c1810;
    --text-light: #f4e8d0;
    --snow-white: #ffffff;
}

body {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, var(--dark-burgundy) 0%, var(--dark-green) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.snowflakes {
    position: fixed;
    top: -10px;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    width: 20px;
    height: 20px;
    animation: fall linear infinite;
}

.snowflake img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; width: 15px; height: 15px; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 2s; width: 12px; height: 12px; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 8s; animation-delay: 4s; width: 18px; height: 18px; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 14s; animation-delay: 1s; width: 22px; height: 22px; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 11s; animation-delay: 3s; width: 16px; height: 16px; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 9s; animation-delay: 5s; width: 20px; height: 20px; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 13s; animation-delay: 0s; width: 14px; height: 14px; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 10s; animation-delay: 4s; width: 19px; height: 19px; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 12s; animation-delay: 2s; width: 17px; height: 17px; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 11s; animation-delay: 6s; width: 15px; height: 15px; }

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
    background: 
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(27, 77, 62, 0.2) 0%, transparent 60%);
}

.logo {
    max-width: 400px;
    width: 90%;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.4));
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--gold);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(212, 175, 55, 0.5);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.event-date {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    background: rgba(139, 0, 0, 0.3);
    border: 3px solid var(--gold);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    max-width: 400px;
    margin: 0 auto;
}

.date-label,
.time-label {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--gold);
    font-weight: 600;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-in 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.countdown-section {
    padding: 80px 20px;
    background: rgba(27, 77, 62, 0.4);
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--gold);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-item {
    background: linear-gradient(145deg, var(--burgundy), var(--dark-burgundy));
    border: 3px solid var(--gold);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.countdown-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.info-section {
    padding: 100px 20px;
}

.info-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background: 
        linear-gradient(90deg, transparent 0%, var(--parchment) 5%, var(--parchment) 95%, transparent 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    border: 3px solid var(--dark-gold);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

.info-box::before {
    content: '?';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
    color: var(--dark-gold);
    opacity: 0.3;
}

.info-box::after {
    content: '?';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--dark-gold);
    opacity: 0.3;
}

.info-box p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: justify;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-note {
    font-style: italic;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--dark-gold);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.story-section {
    padding: 100px 20px;
    position: relative;
}

.parchment {
    background: 
        linear-gradient(90deg, transparent 0%, var(--parchment) 5%, var(--parchment) 95%, transparent 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    border: 3px solid var(--dark-gold);
    border-radius: 10px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 50px rgba(139, 0, 0, 0.1);
    position: relative;
}

.parchment::before,
.parchment::after {
    content: '?';
    position: absolute;
    font-size: 2.5rem;
    color: var(--dark-gold);
    opacity: 0.3;
}

.parchment::before {
    top: 20px;
    left: 20px;
}

.parchment::after {
    bottom: 20px;
    right: 20px;
}

.parchment-content {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-dark);
    line-height: 1.8;
}

.parchment-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.quote {
    border-left: 4px solid var(--dark-gold);
    padding-left: 30px;
    margin: 30px 0;
    font-style: italic;
}

.quote p {
    margin-bottom: 15px;
}

.story-ending {
    font-weight: 700;
    font-size: 1.2em;
    text-align: center !important;
    margin-top: 30px;
    color: var(--burgundy);
}

.requirements-section {
    padding: 100px 20px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.requirement-card {
    background: 
        linear-gradient(90deg, transparent 0%, var(--parchment) 5%, var(--parchment) 95%, transparent 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    border: 3px solid var(--dark-gold);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
}

.requirement-card::before {
    content: '?';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2rem;
    color: var(--dark-gold);
    opacity: 0.2;
}

.requirement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.requirement-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.requirement-card p {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.registration-section {
    padding: 100px 20px;
}

.registration-info {
    background: linear-gradient(145deg, var(--burgundy), var(--dark-burgundy));
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.date-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.date-start,
.date-end {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--gold);
    font-weight: 600;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.date-separator {
    font-size: 1.5rem;
    color: var(--text-light);
}

.registration-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    line-height: 1.8;
}

.registration-text code {
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: var(--gold);
    font-size: 1.1em;
}

.cta-button {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    background: linear-gradient(145deg, var(--gold), var(--dark-gold));
    padding: 20px 50px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 3px solid var(--dark-gold);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    background: linear-gradient(145deg, var(--dark-gold), var(--gold));
}

.organizer-section {
    padding: 100px 20px;
    background: rgba(27, 77, 62, 0.4);
    backdrop-filter: blur(10px);
}

.organizer-card {
    background: linear-gradient(145deg, var(--forest-green), var(--dark-green));
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.organizer-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.organizer-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.organizer-card p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.footer {
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    border-top: 2px solid var(--gold);
}

.footer p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.impressum-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.impressum-link:hover {
    color: var(--dark-gold);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .parchment {
        padding: 40px 25px;
    }
    
    .requirement-card,
    .registration-info,
    .organizer-card {
        padding: 30px 20px;
    }
    
    .date-range {
        flex-direction: column;
        gap: 10px;
    }
    
    .countdown {
        gap: 20px;
    }
    
    .event-date {
        padding: 20px;
    }
    
    .info-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .parchment {
        padding: 30px 15px;
    }
    
    .parchment-content {
        font-size: 0.95rem;
    }
    
    .quote {
        padding-left: 15px;
        border-left-width: 3px;
    }
    
    .info-box {
        padding: 25px 15px;
    }
}