/*
 * Elegantes Hochzeits-Styling
 * Primärfarbe: #990033 (Bordeaux)
 * Akzentfarbe: #B3305A (Rosé/Helles Rot)
 * Hintergrund: #F9F7F5 (Cremig-Weiß)
 */

@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap'); 
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap'); 


html {
    font-family: "Roboto", sans-serif;
    line-height: 1.15;
}

/* ======================================= */
/* === GLOBALE & LAYOUT STILE === */
/* ======================================= */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F9F7F5; /* Cremiger Hintergrund */
    color: #333;
    line-height: 1.7; 
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif; 
    color: #990033; 
    text-align: center;
    font-weight: 700;
}

/* Header und Navigation */
header {
    background-color: #990033;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 50px; 
    transition: background-color 0.3s, transform 0.2s;
    font-weight: 300;
}

nav a:hover {
    background-color: #b3305a;
    transform: translateY(-2px); 
}

/* Call to Action Button */
.button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #b3305a; 
    color: white;
    text-decoration: none;
    border-radius: 50px; 
    font-weight: bold;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(179, 48, 90, 0.4);
}

.button:hover {
    background-color: #990033;
    box-shadow: 0 6px 12px rgba(153, 0, 51, 0.6);
}

/* Meldungen */
.success {
    background-color: #f0fff0; 
    color: #4CAF50;
    padding: 15px;
    border: 1px solid #D9EAD3;
    border-radius: 8px;
    margin-bottom: 20px;
}

.error {
    background-color: #fff0f0; 
    color: #D32F2F;
    padding: 15px;
    border: 1px solid #EFA9A9;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    color: #777;
    font-size: 0.9em;
    border-top: 1px solid #eee;
}

.separator {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(153, 0, 51, 0.4), rgba(255, 255, 255, 0));
    margin: 60px 0;
}

/* ======================================= */
/* === GÄSTE-LOGIN STYLES (login.php) === */
/* ======================================= */

/* Spezifische Anpassung für das Login-Fenster */
.login-body {
    background-image: linear-gradient(rgba(249, 247, 245, 0.8), rgba(249, 247, 245, 0.8)), 
                      url('../img/hero-bg.jpg'); /* Optional: Falls du ein Hintergrundbild hast */
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    max-width: 450px !important; /* Etwas schmaler für Login */
    margin: 0 auto;
    padding: 50px 40px !important;
    border-top: 5px solid #990033; /* Eleganter Akzent oben */
    text-align: center;
}

.login-container h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.login-container p {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Passwort-Feld verschönern */
.login-container input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center; /* Passwort-Punkte zentrieren sieht edler aus */
    font-size: 1.2em;
    letter-spacing: 5px; /* Abstand zwischen den Punkten */
    background-color: #fcfcfc;
    transition: all 0.3s;
}

.login-container input[type="password"]:focus {
    border-color: #b3305a;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(179, 48, 90, 0.1);
    outline: none;
}

/* Label dezent halten */
.login-container label {
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 10px;
}

/* Button-Anpassung */
.login-container button {
    margin-top: 20px !important;
    letter-spacing: 1px;
}

/* Hilfe-Text unter dem Button */
.login-footer {
    margin-top: 25px;
    font-size: 0.8em;
    color: #bbb;
    font-style: italic;
}

/* ======================================= */
/* === HERO SEKTION (Startseite) STYLES - KONSISTENT MIT INHALTSSEITEN === */
/* ======================================= */

/* Hero Sektion (Haupt-Container) */
.hero-section {
    /* Box-Styles sind bereits konsistent: white background, 15px border-radius, soft shadow */
    text-align: center;
    padding: 30px 20px 50px 20px; 
    background: white;
    margin-bottom: 30px;
    border-radius: 15px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
}

/* 1. Bild-Container */
.hero-image-container {
    max-width: 700px; 
    margin: 0 auto 30px auto; 
    overflow: hidden;
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
}

/* Das eigentliche Bild (wichtig für die Skalierung) */
.hero-image {
    width: 100%; 
    height: auto;
    display: block; 
}

/* 2. Text-Inhalte */
.hero-content h1 {
    font-size: 5em; 
    margin-bottom: 0.05em;
    letter-spacing: 3px;
    color: #990033;
    font-weight: 400; 
}

.hero-content h2 {
    font-family: 'Playfair Display', serif; /* Explizit gesetzt für Konsistenz mit h1/h3 */
    font-size: 2.5em;
    color: #777;
    margin-top: 0;
    font-weight: 400; /* Leichteres Gewicht für Eleganz */
}

.wedding-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #b3305a; /* Akzentfarbe */
    margin: 15px 0 30px 0;
}

/* 3. Countdown Box */
.countdown-box {
    margin: 30px auto 40px auto;
    padding: 20px;
    max-width: 350px;
    border: 1px solid #ffcccc; /* Weicherer Rand */
    border-radius: 10px;
    background-color: #fffafc; /* Konsistent mit contact-info und corinne-card */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Leichter Schatten */
}

.countdown-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #990033;
}

#countdown-timer {
    font-size: 2.5em; 
    color: #990033;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 4. CTA Buttons */
.cta-buttons {
    margin-top: 30px;
}

.cta-buttons .button {
    padding: 18px 50px; 
    font-size: 1.3em;
}

/* ======================================= */
/* === INTRO SEKTION (Steps) STYLES - AN DEN INHALT ANGEPASST === */
/* ======================================= */

.intro-section {
    padding: 50px 20px;
    margin-top: 10px;
    text-align: center;
}

.intro-section h2 {
    /* Konsistenz mit anderen Sektions-Überschriften */
    font-size: 2.2em; 
    margin-bottom: 30px;
}

/* Raster für die drei Schritte */
.steps-grid {
    display: grid;
    /* Drei gleichmäßige Spalten, die auf kleineren Bildschirmen umbrechen */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Min-Breite etwas reduziert für besseren Platz */
    gap: 30px;
    margin-top: 30px;
}

.step {
    background-color: #fcfcfc; /* Sehr heller Hintergrund */
    padding: 30px;
    border-radius: 10px; /* Leichterer Radius für die inneren Boxen */
    border: 1px solid #f0f0f0; /* Dezenter Rahmen */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Subtiler Anfangsschatten */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%; /* Stellt sicher, dass alle Boxen in einer Reihe gleich hoch sind */
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #b3305a; /* Akzentfarbe beim Hover als Highlight */
}

.step h3 {
    font-family: 'Playfair Display', serif;
    color: #990033;
    font-size: 1.6em; /* Etwas größer für mehr Gewicht */
    margin-top: 0;
    margin-bottom: 15px;
}

.step p {
    color: #555;
    line-height: 1.6;
}


/* ======================================= */
/* === MOBILE OPTIMIERUNGEN === */
/* ======================================= */

@media (max-width: 768px) {
    
    /* Hero Sektion */
    .hero-section {
        padding: 20px 10px 30px 10px;
    }
    
    .hero-content h1 {
        font-size: 3em; 
        letter-spacing: 1px;
    }
    .hero-content h2 {
        font-size: 1.8em; 
    }
    .wedding-date {
        font-size: 1.2em;
    }

    .hero-image-container {
        margin: 0 auto 20px auto; 
    }
    
    /* CTA Buttons (volle Breite auf Mobile) */
    .cta-buttons .button {
        width: 90%; 
        display: block;
        margin: 10px auto;
        padding: 15px 20px;
        font-size: 1.1em;
    }
    
    #countdown-timer {
        font-size: 2em; 
    }
    
    /* Intro Sektion: Schritte */
    .steps-grid {
        /* Das grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); macht die Spalten automatisch zu einer Spalte, wenn der Platz nicht reicht, was gut ist. */
        gap: 20px;
    }
}



/* ======================================= */
/* === NEUIGKEITEN & ZEITPLAN STILE (neuigkeiten.php) === */
/* ======================================= */

.info-section {
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* DYNAMISCHE NEUIGKEITEN (aus Admin) */

.dynamic-news {
    margin-bottom: 30px; /* Reduziert von 50px */
    padding: 0;          /* Reduziert von 20px 0 */
}

/* DYNAMISCHE NEUIGKEITEN (aus Admin) */

.dynamic-news {
    margin-bottom: 50px;
    padding: 20px 0;
}

.dynamic-news-headline {
    color: #B3305A; /* Akzentfarbe für die wichtigste Sektion */
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}

.news-box {
    background-color: #ffe8e8; /* Sehr heller roter Hintergrund */
    border: 3px solid #B3305A;
    border-radius: 10px;
    padding: 15px; /* Reduziert von 25px */
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap; /* Behält Zeilenumbrüche aus dem Admin-Text bei */
}


/* ZEITPLAN */

.schedule-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.schedule-item {
    text-align: center;
    max-width: 300px;
    padding: 25px;
    border-radius: 10px;
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.schedule-item .time {
    font-size: 1.8em;
    font-weight: 700;
    color: #b3305a;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.schedule-item h3 {
    margin-top: 0;
    color: #990033;
    font-size: 1.4em;
    font-weight: 500;
}

/* LOKATIONEN */

.static-headline {
    font-size: 1.8em; 
    color: #990033;
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
}

.location-grid {
    display: grid;
    /* Angepasst: Min. Breite reduziert, damit 4 Spalten auf Standard-Desktops Platz haben */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 15px; 
    margin-top: 40px;
}

.location-item {
    padding: 25px;
    border: 2px dashed #b3305a; 
    background-color: #fff;
    border-radius: 10px;
    text-align: center; /* NEU: Zentriert alle Inhalte (Titel, Absätze) */
}

.location-item h3 {
    text-align: center; /* AUF CENTER KORRIGIERT */
    font-size: 1.2em;
    margin-top: 0;
    font-weight: 700;
    margin-bottom: 20px; /* ETWAS MEHR PLATZ NACH UNTEN */
}

/* NEUE STYLES FÜR GRUPPIERUNG (Apéro & Parken) */
.location-item.combined-location {
    /* Wichtig: Auf Desktop wird dies von der 1024px-Media Query überschrieben */
    grid-column: span 2; 
    border-color: #990033; /* Dunklerer Rahmen für die Gruppe */
}

.combined-location .location-inner {
    display: flex;
    /* Verwenden der finalen justify-content Regel (space-between) */
    justify-content: space-between;
    gap: 10px;
    text-align: center;
}

.combined-location .location-part {
    flex: 1;
    /* Entfernt Ränder, die die Zentrierung stören könnten */
    margin: 0; 
    padding: 0;
}

.combined-location h4 {
    font-size: 1.1em;
    color: #b3305a;
    margin-bottom: 5px;
}

/* ======================================= */
/* --- STYLES FÜR GESCHENKIDEE.PHP --- */
/* ======================================= */

.gift-section {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 15px; /* Etwas runder für das elegante Design */
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* Einheitlicher, weicher Schatten */
    text-align: center;
}

.gift-box {
    padding: 30px;
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    margin-top: 30px;
}

.gift-icon p {
    font-size: 5em; /* Etwas größer */
    line-height: 1;
    margin-bottom: 20px;
}

.gift-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6em;
    color: #666;
    margin-top: 0;
    margin-bottom: 5px;
}

.gift-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    color: #990033; /* Primärfarbe */
    margin-top: 0;
    margin-bottom: 25px;
}

.gift-text p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* --- Bankdaten Bereich --- */

.bank-details h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: #b3305a; /* Akzentfarbe */
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
    margin-top: 40px;
    margin-bottom: 15px;
}

.bank-details p {
    margin-bottom: 10px;
}

/* IBAN-Box: Wichtig für die Hervorhebung der Bankdaten */
.iban-box {
    background-color: #fffafc; /* Sehr heller Akzent-Hintergrund */
    border: 1px solid #b3305a;
    border-radius: 8px;
    padding: 20px;
    text-align: left; /* Text linksbündig für bessere Lesbarkeit der Kontodaten */
    line-height: 1.8;
    max-width: 450px;
    margin: 15px auto; /* Zentriert die Box */
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
}

/* Dankesnote */
.thanks-note {
    margin-top: 30px;
    font-style: italic;
    color: #990033; /* Primärfarbe für die Unterscheidung */
    font-weight: bold;
    font-size: 1.2em;
}



/* ======================================= */
/* === MOBILE OPTIMIERUNGEN === */
/* ======================================= */

@media (max-width: 768px) {
    
    main {
        padding: 15px 10px; 
    }

    /* Navigation */
    nav {
        flex-wrap: wrap; 
        justify-content: space-around;
        padding: 0 5px;
    }
    nav a {
        padding: 8px 10px;
        margin: 5px 2px;
        font-size: 0.9em;
        flex-grow: 1; 
        text-align: center;
    }

    /* Hero Sektion */
    .hero-content h1 {
        font-size: 3em; 
    }
    .hero-content h2 {
        font-size: 1.5em; 
    }

    /* Buttons */
    .cta-buttons .button {
        display: block; 
        width: 90%;
        margin: 10px auto;
        padding: 12px 20px;
    }

    /* Zeitplan / Neuigkeiten */
    .schedule-grid {
        flex-direction: column;
        gap: 20px;
    }
    .schedule-item {
        max-width: 100%;
    }
    
    /* Locations */
    .location-grid {
        grid-template-columns: 1fr; /* Nur eine Spalte auf Mobile */
        gap: 15px;
    }
    
    /* Gruppierung auf Mobile entfernen, damit es wieder 1 Spalte ist */
    .location-item.combined-location {
        grid-column: span 1; 
    }
    .combined-location .location-inner {
        flex-direction: column;
    }

}


/* ======================================= */
/* === DESKTOP OPTIMIERUNGEN (FÜR 3 HAUPT-BOXEN) === */
/* ======================================= */

@media (min-width: 1024px) {
    .location-grid {
        /* Neue, gewichtete Verteilung: Trauung (1.2) / Apéro-Gruppe (1.6) / Party (1.2) */
        grid-template-columns: 1.2fr 1.6fr 1.2fr;
    }
    
    /* Muss jetzt nur noch 1 Spalte (die 1.6fr Spalte) einnehmen, da wir 3 Spalten definiert haben */
    .location-item.combined-location {
        grid-column: span 1; 
    }
}

/* Styling für die neue Checkbox-Gruppe */
.checkbox-container {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px dashed #eee;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    /* Optional: Größe der Checkbox etwas erhöhen */
    transform: scale(1.2); 
}


/* ======================================= */
/* --- STYLES FÜR ZU-/ABSAGE-FORMULAR (anmelden.php) --- */
/* ======================================= */

/* 1. Haupt-Formular-Container (Die helle Box im Bild) */
.form-container {
    max-width: 700px; /* Kleinere, zentrierte Breite */
    margin: 40px auto 30px auto; /* Zentriert im main-Bereich */
    padding: 30px 40px; /* Mehr Innenabstand */
    background: white;
    border-radius: 15px; /* Etwas runder */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: left;
}

/* Titel im Formular (Ihre Zu- oder Absage (RSVP)) */
.form-container h2 {
    font-family: 'Playfair Display', serif;
    color: #990033; /* Bordeaux */
    font-size: 2em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* Abschnitt: "Wer ist dabei?" */
.form-container + h2 {
    font-size: 2em;
    color: #b3305a; /* Akzentfarbe */
    margin-top: 40px;
}
.form-container + h2 + p {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}


/* 2. Styling für alle Labels */
.form-container label {
    display: block; 
    font-weight: 500; /* Etwas weniger fett für bessere Lesbarkeit im Formular */
    color: #333;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* 3. Styling für alle Input-Felder, Textareas und Selects */
.form-container input[type="text"],
.form-container input[type="number"],
.form-container textarea,
.form-container select {
    width: 100%; 
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; 
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.3s;
}
.form-container input[type="text"]:focus,
.form-container input[type="number"]:focus,
.form-container textarea:focus,
.form-container select:focus {
    border-color: #b3305a; /* Hervorhebung beim Fokussieren */
    outline: none;
}

/* Spezifisches Styling für den dynamischen Namens-Container */
#namensfelder-container {
    margin-bottom: 15px;
    padding: 5px 0;
}
#namensfelder-container input[type="text"] {
    width: calc(100% - 20px); 
    display: inline-block;
}

/* 4. Styling für den Submit-Button (Der große Bordeaux-Button) */
.form-container button[type="submit"],
.form-container .button.submit { /* Falls Sie einen A-Tag als Button verwenden */
    display: block;
    width: 100%;
    padding: 18px 20px; /* Sehr groß, wie im Bild */
    margin-top: 35px;
    background-color: #990033; /* Dunkles Bordeaux */
    color: white;
    border: none;
    border-radius: 8px; /* Rechteckiger als die runden CTA-Buttons */
    cursor: pointer;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(153, 0, 51, 0.4);
}

.form-container button[type="submit"]:hover,
.form-container .button.submit:hover {
    background-color: #b3305a; /* Rosé beim Hover */
    box-shadow: 0 6px 15px rgba(179, 48, 90, 0.6);
}

/* 5. Styling für die Checkbox-Gruppe */
.checkbox-container {
    margin-top: 25px;
    margin-bottom: 10px;
    padding: 10px 0;
    border-top: 1px dashed #eee;
    font-size: 0.95em;
}

.checkbox-container label {
    display: inline; 
    font-weight: normal;
    margin: 0;
}
.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: auto; 
    display: inline;
    transform: scale(1.1); 
    vertical-align: middle;
}

/* ======================================= */
/* --- STYLES FÜR TRAUZEUGEN.PHP --- */
/* ======================================= */

.trauzeugen-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 15px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
    text-align: center;
}

.trauzeugen-section .subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

/* 1. Haupt-Container für die Zeilen-Zentrierung */
.trauzeugen-row {
    margin-bottom: 50px;
}

.trauzeugen-row h2 {
    font-size: 2em;
    color: #b3305a; /* Akzentfarbe für die Überschrift des Teams */
    margin-bottom: 25px;
    /* Linien-Effekt für die Trennung der Teams */
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* 2. Grid-Layout: Zentriert zwei Kacheln, die etwas breiter sind */
.trauzeugen-grid {
    display: flex; /* Statt Grid verwenden wir Flex für eine einfachere Zentrierung */
    justify-content: center; /* Zentriert die Karten in der Reihe */
    flex-wrap: wrap; /* Erlaubt Umbruch auf Mobile */
    gap: 30px;
    margin-top: 30px;
}

/* 3. Einzelne Personen-Karten */
.person-card {
    /* Setzt eine feste Breite, um die Zentrierung von zwei Karten zu gewährleisten */
    width: 400px; 
    max-width: 100%; /* Wichtig für Mobile */
    
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.person-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* --- FARBSCHEMATA --- */

/* CORINNE: Leicht Rötlich */
.corinne-card {
    background-color: #fff9f9; /* Sehr helles Rosa/Rot */
    border-color: #ffcccc;
}

/* ROMAN: Leicht Blau */
.roman-card {
    /* Ein sehr helles, elegantes Blau */
    background-color: #f7fcff; 
    border-color: #cceeff; 
}


/* 4. Kontaktdaten hervorheben (Anpassung für die Farbschemata) */
.contact-info {
    /* Behält den ursprünglichen Akzent-Stil */
    background-color: #fffafc; 
    border: 1px dashed #b3305a;
    padding: 15px;
    border-radius: 8px;
    margin: 15px auto;
    text-align: left;
    font-size: 1em;
    line-height: 1.5;
}

.contact-info strong {
    color: #990033;
}

/* 5. Zuständigkeits-Notiz */
.role-note {
    font-style: italic;
    color: #b3305a; 
    font-weight: bold;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}


/* --- Mobile Optimierung (Die Karten bleiben untereinander) --- */
@media (max-width: 850px) { /* Hier 850px, damit die 400px Karten + Abstand Platz haben */
    .trauzeugen-grid {
        /* Erlaubt den Karten, untereinander zu brechen, wenn sie zu eng werden */
        flex-direction: column; 
        align-items: center;
    }
    .person-card {
        width: 90%; /* Nimmt fast die gesamte Breite auf Mobile ein */
    }
}

/* ======================================= */
/* === FOTO-GALERIE & MULTI-DOWNLOAD STYLES === */
/* ======================================= */

/* Tab-Navigation */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid #b3305a;
    background: white;
    color: #b3305a;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: #b3305a;
    color: white;
}

/* Galerie Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.photo-item {
    position: relative; /* Wichtig für die Checkbox */
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

/* Auswahl-Checkbox Styling */
.photo-select-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.photo-checkbox {
    width: 25px;
    height: 25px;
    cursor: pointer;
    accent-color: #990033;
}

/* Download Bar (Fixiert am unteren Bildschirmrand) */
.download-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

.photo-info {
    margin-top: 10px;
    font-size: 0.8em;
    color: #777;
    text-align: center;
}

@media (max-width: 600px) {
    .photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}