/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #d4af37;
    --color-secondary: #2c3e50;
    --color-bg-light: #faf9f7;
    --color-bg-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: left;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-bg-1 {
    background-image: url('../images/hero.jpg');
}

.hero-bg-2 {
    background-image: url('../images/hero_test.jpg');
}

.hero-bg-3 {
    background-image: url('../images/hero_3.jpg');
}

.hero.hero-state-1 .hero-bg-1,
.hero.hero-state-2 .hero-bg-2,
.hero.hero-state-3 .hero-bg-3 {
    opacity: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at center,
            rgba(252, 250, 247, 0.5) 0%,
            rgba(252, 250, 247, 0.4) 30%,
            rgba(252, 250, 247, 0.4) 55%,
            rgba(252, 250, 247, 0) 74%,
            rgba(252, 250, 247, 0) 100%
        ),
        linear-gradient(135deg, rgba(253, 251, 251, 0.18) 0%, rgba(245, 243, 240, 0.12) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero .scroll-indicator {
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1.5s ease-out;
}

.names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.name {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    color: var(--color-secondary);
    letter-spacing: 0.1em;
    text-shadow: 0 0 26px rgba(255, 255, 255, 0.95), 0 0 56px rgba(255, 255, 255, 0.75);
}

.ampersand {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--color-primary);
    font-weight: 400;
    font-style: italic;
    text-shadow: 0 0 26px rgba(255, 255, 255, 0.95), 0 0 56px rgba(255, 255, 255, 0.75);
    
}

.tagline {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 1.5rem;
    color: var(--color-secondary);
    text-shadow: 0 0 34px rgba(255, 255, 255, 0.98), 0 0 74px rgba(255, 255, 255, 0.88);
}

.divider {
    width: 80px;
    height: 2px;
    background: var(--color-primary);
    margin: 2rem auto;
}

.date {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-secondary);
    font-weight: 400;
    text-shadow: 0 0 26px rgba(255, 255, 255, 0.95), 0 0 56px rgba(255, 255, 255, 0.75);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 2rem;
    color: var(--color-primary);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-secondary);
}

/* Timeline Section */
.timeline-section {
    background: var(--color-bg-white);
    padding: 6rem 0;
}

.timeline-date {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 4rem;
    font-weight: 400;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), rgba(212, 175, 55, 0.3));
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-content {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.timeline-content.left {
    text-align: right;
}

.timeline-content.right {
    text-align: left;
}

.timeline-time {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-secondary);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.timeline-content p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.3);
}

.timeline-spacer {
    /* Empty spacer for grid layout */
}

/* Location Section */
/* Location Section */
.location-section {
    background: linear-gradient(
            to bottom,
            rgba(253, 251, 251, 0.88) 0%,
            rgba(250, 249, 247, 0.9) 50%,
            rgba(253, 251, 251, 0.92) 100%
        ),
        url('../images/location.jpg') center / cover no-repeat;
    padding: 6rem 0;
}

.location-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 560px;
    margin: -0.5rem auto 3.5rem;
    line-height: 1.7;
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.location-info {
    order: 1;
    display: flex;
}

.location-info-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    padding: 2.5rem 2.5rem 2.75rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.location-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.location-name {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-secondary);
    margin: 0 0 1.25rem;
    line-height: 1.2;
}

.location-divider {
    width: 48px;
    height: 2px;
    background: var(--color-primary);
    margin-bottom: 1.5rem;
}

.location-address {
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 1.75rem;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: white;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.location-btn {
    margin-top: auto;
}

.location-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.location-map {
    order: 2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(44, 62, 80, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    max-width: 100%;
}

/* RSVP Section */
.rsvp {
    background: var(--color-bg-white);
}

.rsvp-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.contact-info {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info strong {
    color: var(--color-primary);
    font-weight: 500;
}

/* Bilder-Streifen (volle Breite, ohne Abstand) */
.photo-strip {
    display: flex;
    width: 100%;
    line-height: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.photo-strip img {
    flex: 1;
    width: 25%;
    height: 40vw;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Gallery CTA Section */
.gallery-cta {
    background: linear-gradient(135deg, #f5f3f0 0%, #fdfbfb 100%);
}

.gallery-cta-text {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.gallery-btn {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.gallery-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Wishlist Section */
.wishlist {
    background: linear-gradient(135deg, #2c3e50 0%, #3f5871 100%);
    color: white;
}

.wishlist .section-title {
    color: white;
}

.wishlist-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    /* background: linear-gradient(
            to bottom,
            rgba(253, 251, 251, 0.75) 0%,
            rgba(250, 249, 247, 0.8) 100%
        ),
        url('../images/footer.jpg') center / cover no-repeat; */
    padding: 4rem 0;
    text-align: center;
}

footer p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin: 0.5rem 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.footer-names {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-secondary);
    font-weight: 400;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Fade in on scroll */
.fade-in {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Hero: zugeschnittenes Bild mit Paar unten, Text oben */
    .hero-bg-1 {
        background-image: url('../images/hero_mobile.jpg');
        background-position: center bottom;
    }
    
    .hero-bg-2 {
        background-image: url('../images/hero_test_mobile.jpg');
        background-position: center bottom;
    }

    .hero-bg-3 {
        background-image: url('../images/hero_mobile_3.jpg');
        background-position: center bottom;
    }
    
    .hero-gradient {
        background: linear-gradient(
            to bottom,
            rgba(252, 250, 247, 0.85) 0%,
            rgba(252, 250, 247, 0.5) 45%,
            rgba(252, 250, 247, 0) 70%
        );
    }
    
    .hero {
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding-top: 6vh;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .names {
        flex-direction: column;
        gap: 0rem;
    }

    .divider {
        margin: 1rem auto;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    /* Mobile Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .timeline-spacer {
        display: none;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content.left,
    .timeline-content.right {
        text-align: left;
    }
    
    .timeline-marker {
        margin-left: 20px;
    }

    .location-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-info {
        order: 1;
    }
    
    .location-map {
        order: 2;
    }
    
    .location-info-inner {
        padding: 2rem;
    }
    
    .location-name {
        font-size: 1.9rem;
    }
    
    .location-map iframe {
        height: 320px;
    }
    
    /* Footer: mobiles Bild */
    footer {
        background: linear-gradient(
                to bottom,
                rgba(253, 251, 251, 0.8) 0%,
                rgba(250, 249, 247, 0.85) 100%
            ),
            url('../images/footer_mobile.jpg') center / cover no-repeat;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2.5rem;
    }
    
    .ampersand {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .location-map iframe {
        height: 280px;
    }

    .location-address {
        font-size: 1rem;
    }
    
    .location-intro {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }
}
