/* Grundlegende Einstellungen und Farbvariablen */
:root {
    --primary-green: #00695C; /* Smaragdgrün aus dem Top */
    --accent-green: #00796B;
    --warm-brown: #5D4037; /* Aus den Haaren */
    --soft-cream: #F5F5F5; /* Heller Hintergrund */
    --dark-text: #333333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--soft-cream);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-weight: 700;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 1em;
}

/* Hero-Bereich */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('IMG_1156.jpg') no-repeat center center/cover;
    filter: brightness(0.7);
    z-index: -1;
}

.hero-text h1 {
    font-size: 3.5em;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-text p {
    font-size: 1.5em;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    font-size: 2em;
    color: white;
    text-decoration: none;
    animation: bounce 2s infinite;
}

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

/* Inhaltssektionen */
.content-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Kalender-Karte */
.calendar-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.calendar-header {
    background-color: var(--primary-green);
    color: white;
    padding: 15px;
}

.calendar-header h3 {
    color: white;
    margin: 0;
}

.calendar-body {
    padding: 20px;
}

.calendar-date {
    font-size: 4.5em;
    font-weight: bold;
    line-height: 1;
}

.calendar-day {
    font-size: 1.5em;
    color: var(--warm-brown);
}

.calendar-time {
    border-top: 1px solid #eee;
    padding: 20px;
    font-size: 1.2em;
}

.calendar-time span {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

.calendar-footer {
    background-color: #f9f9f9;
    padding: 20px;
}
.calendar-footer p {
    margin: 0;
    font-weight: bold;
}
.calendar-footer span {
    font-size: 0.9em;
}

.calendar-footer a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.calendar-footer a:hover {
    color: var(--primary-green);
}

/* Parallax-Sektion */
.parallax-section {
    background: url('IMG_1505.jpg') no-repeat center center/cover;
    /* background-attachment: fixed; <-- DIESE ZEILE WIRD ENTFERNT */
    padding: 100px 20px;
    color: white;
    text-align: center;
}

.parallax-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto;
}

.parallax-content h2 {
    color: white;
}

.parallax-content blockquote {
    font-size: 1.3em;
    font-style: italic;
    border: none;
    padding: 0;
    margin-top: 1em;
}

/* Fotogalerie */
.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 2em;
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* RSVP Button */
.rsvp {
    background-color: #fff;
}

.rsvp-button {
    display: inline-block;
    background-color: var(--accent-green);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 1.5em;
    box-shadow: 0 4px 15px rgba(0, 121, 107, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rsvp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 121, 107, 0.5);
}

/* Media Queries für grössere Bildschirme (Desktop) */
@media (min-width: 1024px) { /* <-- Wir nutzen eine höhere Auflösungsgrenze */
    h2 {
        font-size: 3em;
    }

    .hero-text h1 {
        font-size: 5em;
    }
    
    .hero-text p {
        font-size: 1.8em;
    }
    
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* === HIER WIRD DER PARALLAX-EFFEKT NUR FÜR DESKTOP AKTIVIERT === */
    .parallax-section {
        background-attachment: fixed;
    }
}