/* ==========================================================================
   Modernes "Boho-Beige" Hochzeits-Design (2026 Edition)
   ========================================================================== */

/* Globale Resets & Schriften */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-creme: #fdfbf7;      /* Sanfter, warmer Hintergrund */
    --bg-desert: #f5efe6;     /* Edles Sand-Beige für Sektionen */
    --gold-soft: #c4a468;     /* Mattgold für Akzente & Links */
    --gold-dark: #a8874a;     /* Dunkleres Gold für Hover-Effekte */
    --text-main: #4a4741;     /* Weiches Anthrazit/Braun für bessere Lesbarkeit */
    --text-muted: #8c8577;    /* Dezentere Schriftfarbe für Hinweise */
    --border-color: #e6e1d8;  /* Feine Trennlinien */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-creme);
    color: var(--text-main);
    line-height: 1.8;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: antialiased;
}

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

/* Elegante Trennlinien */
.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
    margin: 60px auto;
    width: 60%;
    text-align: center;
}

.text-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 60px auto;
    width: 80%;
    text-align: center;
}

.text-divider::after {
    content: attr(data-content);
    position: relative;
    top: -15px;
    background: var(--bg-creme);
    padding: 0 15px;
    font-size: 1.4rem;
    color: var(--gold-soft);
}

/* Header / Hero-Bereich (Minimalistisch & Hochwertig) */
.hero {
    background: linear-gradient(180deg, var(--bg-desert) 0%, var(--bg-creme) 100%);
    padding: 120px 20px 80px 20px;
    text-align: center;
}

.hero h1 {
    font-family: 'Alex Brush', cursive;
    font-size: 5rem;
    color: var(--gold-soft);
    margin-bottom: 15px;
    font-weight: 400;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
}

.hero .subtitle {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 25px;
}

/* Modernes Datums-Layout */
.modern-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    gap: 15px; /* Abstand zwischen der großen Zahl und dem Text */
}

.date-day {
    font-size: 4.5rem; /* Die Zahl wird riesig */
    font-weight: 300;  /* Schön dünne, elegante Schrift */
    line-height: 1;
    color: var(--gold-soft);
}

.date-month-year {
    display: flex;
    flex-direction: column; /* Stapelt Monat und Jahr untereinander */
    text-align: left;       /* Richtet den Text linksbündig neben der Zahl aus */
}

.date-month {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

.date-year {
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: var(--text-muted);
}

/* Optimierung für kleine Handys */
@media (max-width: 600px) {
    .date-day { font-size: 3.5rem; }
    .date-month { font-size: 1.1rem; }
    .date-year { font-size: 0.9rem; }
}

/* Sektionen Styling */
.section {
    padding: 30px 0;
    text-align: center;
}

.section h2 {
    font-family: 'Alex Brush', cursive;
    font-size: 3.5rem;
    color: var(--gold-soft);
    margin-bottom: 25px;
    font-weight: 400;
}

.section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-main);
    text-transform: uppercase;
}

.welcome p {
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-main);
}

.hint {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Zeitstrahl (Timeline - Minimal & Modern) */
.timeline {
    max-width: 550px;
    margin: 40px auto 0 auto;
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

/* Der vertikale Strich der Timeline */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 8px;
    width: 2px;
    height: calc(100% + 30px);
    background-color: var(--border-color);
}

/* Letzten Strich ausblenden */
.timeline-item:last-child::before {
    display: none;
}

/* Der kleine Punkt auf dem Zeitstrahl */
.timeline-item::after {
    content: '';
    position: absolute;
    left: -25px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gold-soft);
    border: 2px solid var(--bg-creme);
}

.timeline-item .time {
    font-weight: 600;
    min-width: 100px;
    color: var(--gold-soft);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.timeline-item .event {
    font-size: 1.05rem;
    color: var(--text-main);
}

/* RSVP Formular (Karten-Look) */
.rsvp-form {
    max-width: 550px;
    margin: 30px auto 0 auto;
    text-align: left;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(168, 157, 134, 0.08);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}

.form-group input[type="text"] {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-creme);
    transition: all 0.3s ease;
}

/* Fokus-Effekt für Eingabefelder */
.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--gold-soft);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(196, 164, 104, 0.15);
}

/* Radio Buttons Styling */
.form-group-radio {
    margin-bottom: 25px;
    padding: 5px 0;
}

.form-group-radio label {
    display: block;
    cursor: pointer;
    margin-bottom: 12px;
    font-size: 1rem;
    position: relative;
}

.form-group-radio input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--gold-soft); /* Färbt den Radio-Button modern gold */
    transform: scale(1.1);
}

/* Moderner Button mit Hover-Animation */
.btn {
    display: block;
    width: 100%;
    background: var(--gold-soft);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(196, 164, 104, 0.2);
}

.btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 164, 104, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* Footer (Dezent am Seitenende) */
footer {
    text-align: center;
    padding: 60px 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-desert);
    margin-top: 100px;
    border-top: 1px solid var(--border-color);
    letter-spacing: 1px;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--gold-soft);
}

/* ==========================================================================
   Responsive Design (Optimierung für Smartphones)
   ========================================================================== */
@media (max-width: 600px) {
    .hero {
        padding: 80px 15px 50px 15px;
    }
    .hero h1 { 
        font-size: 3.5rem; 
    }
    .section h2 { 
        font-size: 2.8rem; 
    }
    .container {
        padding: 20px 15px;
    }
    .rsvp-form {
        padding: 25px 20px;
    }
    .timeline {
        padding-left: 20px;
    }
    .timeline-item { 
        flex-direction: column; 
        margin-bottom: 20px;
    }
    .timeline-item .time { 
        margin-bottom: 2px; 
        font-size: 0.9rem;
    }
    .timeline-item::before {
        height: calc(100% + 20px);
    }
}