/* --- style.css (FINAL: BOXEN HÜPFEN, SPONSOREN BLEIBEN) --- */

:root {
    --primary-red: #8a1c1c;      
    --primary-green: #1e4d2b;    
    --accent-gold: #d4af37;      
    --bg-cream: #f9f7f2;         
    --text-dark: #2c2c2c;
    --white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: radial-gradient(circle at top, #2b5c3a, #15381e);
    color: #f0f0f0; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--accent-gold); text-decoration: none; }

/* --- REALISTISCHER SCHNEEFALL --- */
.snowflake {
    position: fixed; top: -10px; background-color: white; border-radius: 50%;
    pointer-events: none; z-index: 0; opacity: 0.8; filter: blur(1px);
    animation: fall linear forwards;
}
@keyframes fall {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(105vh) translateX(20px); opacity: 0.3; }
}

h1, h2, h3 { font-family: 'Merriweather', serif; color: var(--primary-green); }
.logo-font { font-family: 'Great Vibes', cursive; color: var(--accent-gold); text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

/* --- NAVIGATION --- */
header {
    background-color: rgba(30, 77, 43, 0.95); padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 3px solid var(--accent-gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo-text { font-family: 'Great Vibes', cursive; font-size: 2rem; color: var(--accent-gold); }
nav ul { list-style: none; display: flex; gap: 25px; padding: 0; margin: 0; }
nav a { color: #f0f0f0; font-weight: 600; font-size: 1.05rem; transition: all 0.3s; }
nav a:hover, nav a.active { color: var(--accent-gold); transform: scale(1.05); }

/* --- HAMBURGER MENÜ --- */
.menu-toggle { display: none; font-size: 2rem; color: var(--accent-gold); cursor: pointer; user-select: none; }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-container { flex-wrap: wrap; }
    nav { width: 100%; display: none; margin-top: 15px; }
    nav.active { display: block; }
    nav ul { flex-direction: column; background-color: rgba(20, 40, 25, 0.95); padding: 20px; border-top: 1px solid var(--accent-gold); gap: 15px; text-align: center; }
}

/* --- CONTENT WRAPPER --- */
.content-wrapper {
    background-color: var(--bg-cream); color: var(--text-dark); 
    max-width: 1000px; width: 90%; margin: 40px auto; padding: 50px;
    border-radius: 15px; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative; z-index: 1; border: 1px solid #ddd;
    text-align: left; box-sizing: border-box;
}
.content-wrapper a { color: var(--primary-red); font-weight: bold; }
.content-wrapper a.btn { color: white; font-weight: bold; text-decoration: none;} 

.hero-logo-container { margin-bottom: 20px; text-align: center; }
.hero-logo { width: 250px; height: 250px; object-fit: cover; border-radius: 50%; border: 6px solid var(--accent-gold); box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: transform 0.5s ease; }
.hero-logo:hover { transform: rotate(5deg) scale(1.05); }

/* --- INFO BOXEN (JETZT MIT HÜPF-EFFEKT) --- */
.info-box {
    background: white; color: var(--text-dark);
    border: 1px solid #eee; border-left: 5px solid var(--accent-gold);
    border-radius: 8px; padding: 30px; margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    /* Animation aktivieren */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Hier passiert der Sprung: */
.info-box:hover {
    transform: translateY(-10px); /* 10 Pixel nach oben */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); /* Stärkerer Schatten */
}

.date-highlight { color: var(--primary-red); background: #fff5f5; padding: 10px; border-radius: 5px; display: inline-block; margin: 10px 0; border: 1px dashed var(--primary-red); }

/* --- BUTTONS --- */
.btn {
    display: inline-block; background-color: var(--primary-red); color: white !important;
    padding: 12px 25px; border-radius: 50px; margin-top: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); transition: all 0.3s;
}
.btn:hover { background-color: #6d1414; transform: scale(1.05); }

/* --- SPONSOREN (OHNE HÜPFEN) --- */
.sponsor-section { margin-top: 50px; padding-top: 30px; border-top: 2px solid var(--accent-gold); text-align: center; }
.sponsor-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.sponsor-card { 
    background: white; padding: 15px 30px; border-radius: 8px; 
    border-bottom: 4px solid var(--accent-gold); color: #333;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1); font-family: 'Merriweather', serif; font-weight: bold;
    transition: box-shadow 0.3s ease, border-color 0.3s ease; /* KEIN Transform mehr */
}
.sponsor-card:hover { 
    transform: none; /* Verhindert das Springen */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Nur etwas mehr Schatten */
    border-bottom-color: var(--primary-red); /* Rand wird rot */
}

/* --- KONTAKTFORMULAR --- */
form { max-width: 600px; margin: 0 auto; text-align: left; }
label { display: block; margin-top: 20px; margin-bottom: 8px; font-weight: bold; color: var(--primary-green); font-family: 'Merriweather', serif; }
input[type="text"], input[type="email"], textarea {
    width: 100%; padding: 15px; margin-bottom: 10px;
    border: 2px solid #eee; border-radius: 8px; background-color: #fcfcfc;
    font-family: 'Open Sans', sans-serif; font-size: 1rem;
    transition: all 0.3s ease; box-sizing: border-box;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent-gold); background-color: #fff; box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); }
form .btn { width: 100%; text-align: center; margin-top: 30px; font-size: 1.1rem; cursor: pointer; border: none; }

/* --- SLIDESHOW (ELEGANT & FIXIERT) --- */
.slideshow-container {
    position: relative;
    max-width: 900px;
    /* WICHTIG: Feste Höhe relativ zum Bildschirm. 
       PC: 70% der Bildschirmhöhe. Handy: 50% (damit man noch scrollen kann) */
    height: 70vh; 
    margin: 40px auto;
    background-color: transparent; /* Kein schwarzer Kasten mehr! */
    border-radius: 10px;
    overflow: hidden;
    /* Der goldene Rahmen bleibt */
    border: 4px solid var(--accent-gold); 
}

/* Auf dem Handy etwas niedriger, damit es nicht den ganzen Screen blockiert */
@media (max-width: 768px) {
    .slideshow-container {
        height: 50vh; 
    }
}

.slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s ease-in-out; 
    z-index: 1; visibility: hidden;
}

.slide.active { opacity: 1; z-index: 2; visibility: visible; }

.slide img {
    width: 100%; 
    height: 100%;
    /* Das ist der Trick: Das Bild passt sich ein, ohne verzerrt zu werden */
    object-fit: contain; 
    display: block;
    /* Ein leichter Schatten direkt am Bild lässt es schweben */
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.3));
}

/* Pfeile und Text bleiben gleich */
.prev, .next { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); padding: 16px; color: var(--accent-gold); font-weight: bold; font-size: 30px; user-select: none; background-color: rgba(255,255,255,0.8); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; z-index: 10; transition: all 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.next { right: 20px; } .prev { left: 20px; }
.prev:hover, .next:hover { background-color: var(--primary-red); color: white; }

.text-overlay {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9); color: var(--text-dark);
    padding: 10px 20px; text-align: center; border-radius: 50px;
    font-family: 'Merriweather', serif; font-size: 1rem; font-weight: bold;
    z-index: 20; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--accent-gold);
}

/* --- FOOTER --- */
footer { background-color: rgba(20, 20, 20, 0.9); color: #bbb; text-align: center; padding: 30px 20px; margin-top: auto; z-index: 1; }
footer a { color: white; }

@media (max-width: 768px) {
    .content-wrapper { padding: 20px; margin: 20px auto; }
    .hero-logo { width: 180px; height: 180px; }
    .text-overlay { padding: 10px; font-size: 0.9rem; }
}