/* Allgemeine Stile */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Hintergrund: #ffffff */
    color: #292929; /* Text: #292929 */
	font-size: 18px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

#content-wrapper {
    display: block;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: #d40055; /* Headlines: #d40055 */
    margin-bottom: 20px;
}

h2 {
    font-size: 32px;
	color: #4c0080; 
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}


h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

/* Bold Text */
b, strong {
    font-weight: 700;
}

a {
    color: #6600aa; /* Linkfarbe */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #6600aa; /* Buttons: #6600aa */
    color: #ffffff; /* Button Schrift: #ffffff */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    text-align: center; /* Zentriert den Text im Button */
}

.button:hover {
    background-color: #4c0080; /* Dunklerer Farbton beim Hover */
    text-decoration: none;
}

/* Header */
/* Header */
header {
    background-image: url('wallpaper202560633.jpg'); /* Hintergrundbild */
    background-size: cover; /* Bild füllt den gesamten Bereich aus */
    background-position: center; /* Bild zentriert */
    background-repeat: no-repeat; /* Bild wird nicht wiederholt */
    min-height: 300px; /* Mindesthöhe für den Header, damit das Bild sichtbar ist */
    display: flex; /* Flexbox für vertikale Zentrierung des Inhalts */
    flex-direction: column; /* Inhalte untereinander */
    justify-content: center; /* Vertikal zentrieren */
    align-items: center; /* Horizontal zentrieren */
    padding: 0; /* Padding wird durch .header-overlay gesteuert */
    position: relative; /* Wichtig für das Overlay */
    overflow: hidden; /* Verhindert Scrollbalken, falls Hintergrund etwas übersteht */
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Weißes Overlay mit 50% Transparenz */
    /* Farbe und Transparenz anpassen, z.B. rgba(0, 0, 0, 0.3) für dunkles Overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px; /* Ursprüngliches Padding des Headers */
    padding-bottom: 20px; /* Ursprüngliches Padding des Headers */
}

header .container {
    /* Der Container im Header sollte nicht direkt das Padding des Headers haben,
       da das Overlay nun die Padding-Steuerung übernimmt. */
    padding: 0; /* Reset für diesen Container im Header */
    margin: 0; /* Reset für diesen Container im Header */
    width: 100%; /* Sicherstellen, dass er die Breite nutzt */
    display: flex;
    justify-content: center;
}

header .logo {
    max-width: 80%; /* PNG 80% der Content-Breite */
    height: auto;
    margin-bottom: 10px; /* Abstand des Logos zum Bereich darunter */
}

/* Neuer Style für den grauen Hintergrund des Tagline-Bereichs */
.tagline-background {
    background-color: #f4f4f4; /* Grauer Hintergrund für den Tagline-Bereich */
	
    margin-top: 20px; /* Abstand zum Logo über dem Bereich */
}

header .tagline {
    font-size: 32px;
    color: #4c0080;
    margin-bottom: 0px;
    margin-top: 40px; /* Abstand zum Logo */
}

/* Neuer Scroll-Pfeil */
.scroll-down-arrow {
    position: fixed; /* Bleibt im Viewport fixiert */
    bottom: 20px; /* 20px vom unteren Rand des Viewports */
    left: 50%; /* 50% von links */
    transform: translateX(-50%); /* Zentriert horizontal */
    font-size: 2.5em;
    color: #6600aa;
    cursor: pointer;
    animation: bounce 2s infinite;
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 1000; /* Sehr hoher z-index, damit er über allem liegt */
	/* Neue Zeilen für smooth Übergänge: */
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

/* Keyframes für die Bounce-Animation (Auf- und Ab-Bewegung) */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Keyframes für die Blink-Animation (alternative Animation) */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/* Sektionen */
section {
    padding: 20px 0;
}

.intro {
    text-align: center;
	padding-top: 10px;
    padding-bottom: 20px;
}

.program .program-item {
    background-color: #edebeb;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.gifts, .rsvp {
    text-align: center;
    background-color: #f0f0f0;
    padding: 30px 0;
}

/* Footer */
footer {
    background-color: #ffffff;
    color: #292929;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #eee;
    font-size: 0.9em;
}

.signature-image {
    width: 300px; /* Desktop: ca. 200px Breite */
    height: auto;
    margin-top: 0px; /* Abstand zum "Herzliche Grüße" Text */
	margin-bottom: 60px; /* Abstand zum "Herzliche Grüße" Text */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.3em;
    }

    header .logo {
        max-width: 90%; /* Etwas größer auf kleineren Bildschirmen */
    }

    .button {
        padding: 10px 20px;
        width: 100%; /* Button nimmt volle Breite ein */
        box-sizing: border-box; /* Padding und Border sind in der Breite enthalten */
    }
	
    .signature-image {
        width: 40%; /* Mobile: ca. 40% der Screen-Breite */
    }	
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    header .logo {
        max-width: 95%; /* Noch größer auf sehr kleinen Bildschirmen */
    }

    .tagline {
        font-size: 1.1em;
    }
	
    .signature-image {
        width: 80%; /* Kann hier auch noch angepasst werden, falls 60% zu klein ist */
    }	
}
