/* General Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Raleway', sans-serif;
    /* Ein sehr sanftes, nebliges Wald-Graugrün für den Hintergrund */
    background-color: #eff3f0; 
    /* NEU: Zarte Textur für einen organischen "Papier"-Look */
    background-image: 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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    color: #2b3a32;
    line-height: 1.6;
    font-weight: 300; /* NEU: Fließtext etwas eleganter (dünner) */
}

/* --- ANIMATIONEN FÜR DEN LICHTERKETTEN-EFFEKT --- */
@keyframes warmGlow {
    0% { text-shadow: 0 0 10px rgba(253, 219, 137, 0.4), 0 0 20px rgba(253, 219, 137, 0.2); }
    100% { text-shadow: 0 0 15px rgba(253, 219, 137, 0.8), 0 0 30px rgba(253, 219, 137, 0.6), 0 0 40px rgba(253, 219, 137, 0.4); }
}

@keyframes buttonGlow {
    0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.2); }
    100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.6); }
}

/* --- HEADER (Der dunkle Wald bei Nacht) --- */
header {
    background: linear-gradient(135deg, #13241b 0%, #1e3b2b 100%);
    color: #ffffff;
    padding: 70px 20px 80px 20px;
    text-align: center;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    /* Subtile Textur auch im Header für Tiefe */
    background-image: 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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"), linear-gradient(135deg, #13241b 0%, #1e3b2b 100%);
}

header h1 {
    font-family: 'Alex Brush', cursive;
    font-size: 4.5rem;
    font-weight: normal;
    color: #fdf5d3; 
    margin: 10px 0;
    animation: warmGlow 3s infinite alternate ease-in-out;
}

header .subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #d4af37; 
}

header .date {
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 600;
    margin-top: 15px;
    color: #fdf5d3;
    text-transform: uppercase;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    padding: 30px 20px;
    /* Abstand zum Header vergrößert, wie gewünscht */
    margin-top: 10px; 
    position: relative;
    z-index: 10;
}

.countdown-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #13241b;
    margin-bottom: 25px;
}

#timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-box {
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
    min-width: 75px;
}

.time-box span {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e3b2b;
    display: block;
}

.time-box p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #556b5e;
    font-weight: 600;
}

/* Main Content & Cards */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.info-box {
    background: rgba(255, 255, 255, 0.85); /* Etwas transparent für die Textur darunter */
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 40px 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(19, 36, 27, 0.04);
    border-top: 2px solid #1e3b2b;
    position: relative;
}

/* NEU: Goldene Trennlinie nach Info-Boxen (außer der letzten) */
.info-box:not(:last-child)::after {
    content: '✧ ✦ ✧';
    display: block;
    text-align: center;
    color: #d4af37;
    font-size: 1.2rem;
    position: absolute;
    bottom: -28px;
    left: 0;
    right: 0;
    letter-spacing: 5px;
    opacity: 0.7;
}

.info-box h2 {
    font-family: 'Playfair Display', serif;
    color: #1e3b2b;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
}

.intro-text {
    text-align: center;
    color: #4a5c51;
    margin-bottom: 35px;
}

/* Grids */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.detail-item {
    background-color: rgba(250, 252, 251, 0.9);
    padding: 25px;
    border-radius: 12px;
    border-left: 2px solid #d4af37; /* Etwas feinerer Rand */
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.detail-item h3 {
    font-family: 'Playfair Display', serif;
    color: #1e3b2b;
    margin-bottom: 12px;
    font-size: 1.4rem;
}
/* Timeline Styling */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 650px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: rgba(250, 252, 251, 0.9);
    padding: 18px 22px;
    border-radius: 12px;
    border-left: 3px solid #d4af37;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.timeline-time {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #1e3b2b;
    font-size: 1.1rem;
    min-width: 85px;
    background: #fdf5d3;
    padding: 4px 10px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    color: #1e3b2b;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #4a5c51;
}
/* Centered Gallery / Featured Photo */
.gallery-centered {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gallery-featured {
    max-width: 450px;
    width: 100%;
}

.gallery-featured img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(30, 59, 43, 0.15);
}

.photo-gallery-box {
    text-align: center;
    background-color: rgba(247, 249, 247, 0.7);
    border: 1px dashed rgba(212, 175, 55, 0.6);
}

.gallery-link-container {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-photo-gallery {
    font-weight: 500;
    padding: 14px 28px;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Buttons (Die leuchtenden Akzente) */
.btn-map {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    background-color: #1e3b2b;
    color: #fdf5d3;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid #d4af37;
    transition: all 0.4s ease;
    letter-spacing: 1px;
}

.btn-map:hover {
    background-color: #13241b;
    color: #ffffff;
    animation: buttonGlow 1.5s infinite alternate ease-in-out;
}

/* FAQ Details */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: rgba(250, 252, 251, 0.8);
    border-radius: 8px;
    padding: 16px 20px;
    border: 1px solid rgba(224, 230, 226, 0.8);
    transition: background-color 0.3s;
}
.faq-item:hover {
     background-color: #ffffff;
}

.faq-item summary {
    font-weight: 600;
    color: #1e3b2b;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
}

.faq-item p {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #4a5c51;
}

.faq-subblock {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border-left: 2px solid #d4af37;
}

.faq-subblock h4 {
    margin: 0 0 8px 0;
    color: #1e3b2b;
    font-family: 'Playfair Display', serif;
}

/* --- NEU: Formular-Design (Minimalistisch & Elegant) --- */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2b3a32;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Angepasste Inputs: Transparent mit goldenem Unterstrich */
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #a3b8ad; /* Sanftes Grün-Grau */
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem;
    background-color: transparent;
    color: #2b3a32;
    transition: all 0.3s ease;
    font-weight: 300;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-bottom: 2px solid #d4af37; /* Goldener Akzent bei Fokus */
    box-shadow: 0 5px 5px -5px rgba(212, 175, 55, 0.3); /* Leichtes Leuchten nach unten */
}

/* Select-Pfeil anpassen */
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232b3a32%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
}

.btn-submit {
    background-color: #1e3b2b;
    color: #fdf5d3;
    padding: 16px;
    border: 1px solid #d4af37;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 15px;
}

.btn-submit:hover {
    background-color: #13241b;
    animation: buttonGlow 1.5s infinite alternate ease-in-out;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    font-size: 0.9rem;
    color: #556b5e;
    background-color: transparent;
}

/* Responsive Styles */
@media (max-width: 600px) {
    header {
        padding: 50px 15px 60px 15px;
    }
    header h1 {
        font-size: 3.2rem;
    }
    header .subtitle {
        font-size: 1.2rem;
    }
    #timer {
        gap: 8px;
    }
    .time-box {
        min-width: 55px;
        padding: 10px;
    }
    .time-box span {
        font-size: 1.4rem;
    }
    .info-box {
        padding: 30px 20px;
    }
}