/* Grundkonfiguration */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Ausrichtung nach oben */
    padding-top: 60px; /* Abstand vom oberen Rand */
    min-height: 100vh;
    overflow-x: hidden;

    /* Hintergrundbild */  
    /* Wichtig für den weichen Wechsel: */
    transition: background-image 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    /* Startbild */
    background-image: url('bg1.png'); 
}

/* --- Kleiner Countdown oben links --- */
#countdown {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.75);
    padding: 8px 15px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
}

.time-unit {
    text-align: center;
    color: white;
}

.time-unit span {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1;
}

.time-unit small {
    display: block;
    font-size: 0.6em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- Hauptinhalt --- */
main {
    text-align: center;
    width: 90%;
    max-width: 800px;
    color: white;
}

h1 {
    font-family: 'Bangers', cursive;
    font-size: 4.5em;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px #000, 5px 5px 20px rgba(0,0,0,0.6);
}

main p {
    font-size: 1.6em;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

/* --- RSVP Sektion --- */
#rsvp-buttons {
    margin-top: 60px;
}

#rsvp-buttons h2 {
    font-size: 2em;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 25px;
}

.rsvp-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.rsvp-button:hover {
    transform: scale(1.05);
}

.accept-button {
    background-color: #28a745;
    color: white;
}

.decline-button {
    background-color: #dc3545;
    color: white;
}

.hinweis {
    margin-top: 25px;
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: normal;
}