/* ========================================= */
/* 0. LOKALE FONTS (Vorlagen)                */
/* ========================================= */

/* Stelle sicher, dass du die Fonts in css/fonts/ gespeichert hast */
@font-face {
    font-family: 'Montserrat-Local';
    src: url('fonts/Montserrat-Regular.woff2') format('woff2'); 
    font-weight: bold;
}
@font-face {
    font-family: 'OpenSans-Local';
    src: url('fonts/OpenSans-Medium.woff2') format('woff2');
    font-weight: normal;
}

/* ========================================= */
/* 1. GLOBALE STYLES & TYPOGRAPHIE           */
/* ========================================= */

body {
    background-color: #0d0d0d; /* Dunkler Hintergrund */
    color: #e0e0e0; /* Helle Schriftfarbe */
    font-family: 'OpenSans-Local', sans-serif;
    margin: 0;
    line-height: 1.6;
    
    /* Download-Schutz: Deaktiviert Textselektion */
    user-select: none;          
    -webkit-user-select: none; 
    -moz-user-select: none;     
    -ms-user-select: none;      
}

/* Stellt sicher, dass Formulareingaben noch funktionieren */
input, textarea {
    user-select: auto !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
}

h1, h2, h3 {
    font-family: 'Montserrat-Local', sans-serif;
    color: #ff88d1; /* Ätherisches Pink (Akzentfarbe) */
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: #4dc2ff; /* Hellblau (Linkfarbe) */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff88d1; 
}


/* ========================================= */
/* 2. HEADER & HAUPTINHALT (LAYOUT-FIX)      */
/* ========================================= */

header {
    background-color: rgba(13, 13, 13, 0.95);
    padding: 0 50px; 
    border-bottom: 1px solid #222;
    position: sticky; 
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.header-content { /* FIX: Zentriert Header-Inhalt und ordnet Logo/Nav an */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 15px 0; 
}

.logo {
    display: flex;
    align-items: center;
}

/* Styling für das Logo-Bild */
.site-logo {
    height: 60px; 
    width: auto; 
    display: block; 
    margin-right: 15px;
}

.logo h1 {
    margin: 0;
    font-size: 1.8em;
    /* Optional: Blendet den H1 Text aus, wenn das Bild-Logo dominiert */
    /* display: none; */ 
}

header nav a {
    font-family: 'Montserrat-Local', sans-serif;
    font-weight: bold;
    margin-left: 25px;
    font-size: 1.1em;
    padding: 5px 0;
    color: #e0e0e0;
}

header nav a:hover {
    color: #ff88d1;
    border-bottom: 2px solid #ff88d1;
}

main {
    padding: 50px 50px 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

h1 {
    font-size: 3em;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
    margin-bottom: 30px;
}

/* ========================================= */
/* 3. GALERIE & FILTER                       */
/* ========================================= */

.galerie-filter {
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #222;
}

.galerie-filter a {
    padding: 8px 15px;
    border: 1px solid #333;
    border-radius: 20px;
    margin-right: 15px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.galerie-filter a:hover,
.galerie-filter a.active {
    background-color: #ff88d1;
    color: #0d0d0d;
    border-color: #ff88d1;
    box-shadow: 0 0 10px rgba(255, 136, 209, 0.4);
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.galerie-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    height: 400px; 
}

.galerie-item:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(255, 136, 209, 0.3);
}

.galerie-item img {
    width: 100%;
    height: 100%; 
    display: block;
    object-fit: cover; 
}

.titel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.galerie-item:hover .titel-overlay {
    transform: translateY(0); 
}

.titel-overlay h3 {
    margin: 0;
    font-size: 1.2em;
    color: white;
    text-transform: none;
    letter-spacing: normal;
}

/* ========================================= */
/* 4. LIGHTBOX2 DESIGN OVERRIDE              */
/* ========================================= */

/* Hintergrund des Lightbox-Overlays dunkler machen */
#lightboxOverlay {
    background-color: #000 !important;
    opacity: 0.95 !important;
}

/* Stil für Navigationspfeile und Schließen-Button */
.lb-dataContainer {
    background-color: #1a1a1a;
    border-radius: 0 0 4px 4px;
}
.lb-details {
    color: #e0e0e0;
}

/* Infotext unten rechts */
.lb-number {
    color: #ff88d1; /* Akzentpink */
}
.lb-caption {
    font-weight: bold;
    color: #ffffff;
}
.lb-close {
    /* Schließen-Kreuz */
    filter: invert(100%); /* macht das schwarze X weiß */
    opacity: 0.8;
}
.lb-close:hover {
    opacity: 1;
}

/* ========================================= */
/* 5. KONTAKTFORMULAR STYLING                */
/* ========================================= */

.contact-form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #1a1a1a; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ff88d1; 
    font-size: 1.1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #0d0d0d; 
    border: 1px solid #333;
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 1em;
    box-sizing: border-box; 
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4dc2ff; 
    outline: none;
    box-shadow: 0 0 5px rgba(77, 194, 255, 0.5);
}

.button-primary {
    background-color: #ff88d1;
    color: #0d0d0d;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block; 
    width: 100%;
    margin-top: 20px;
}

.button-primary:hover {
    background-color: #ff99e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 136, 209, 0.5);
}

/* Erfolgs- und Fehlermeldungen */
.success {
    color: #00ff88;
    background-color: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}
.error {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid #ff4d4d;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

/* ========================================= */
/* 6. FOOTER & HINWEISE                      */
/* ========================================= */
footer {
    background-color: #111;
    color: #777;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    border-top: 1px solid #222;
}
footer a {
    color: #777;
    margin: 0 10px;
}
footer a:hover {
    color: #ff88d1;
}

.hinweis {
    text-align: center;
    font-style: italic;
    color: #aaa;
    margin-top: 50px;
}
/* ========================================= */
/* 7. IMPRESSUM IFRAME STYLING               */
/* ========================================= */

.impressum-container {
    /* Container, der die Größe des Iframes kontrolliert */
    width: 100%; 
    max-width: 1000px; /* Oder jede andere gewünschte Max-Breite */
    margin: 40px auto;
    
    /* Setzt das Seitenverhältnis (z.B. 4:3) */
    position: relative;
    padding-bottom: 75%; /* 75% entspricht einem 4:3-Verhältnis (Höhe ist 75% der Breite) */
    height: 0;
    overflow: hidden;
    
    /* Fügt einen Rahmen hinzu, um den Iframe hervorzuheben */
    border: 1px solid #333; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.impressum-container iframe {
    /* Lässt den Iframe den gesamten Container füllen */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background-color: #f0f0f0; /* Stellt sicher, dass der Hintergrund hell ist, falls das Impressum hell ist */
}
.figur-bild-container {
    /* Optional: Abstand unter dem Bild */
    margin-bottom: 20px; 
    /* Optional: Das Bild rechts vom Text platzieren, wenn Platz ist */
    float: right; 
    width: 40%; /* Das Bild nimmt maximal 40% der Breite des Containers ein */
    margin-left: 20px;
}

.figur-bild {
    /* Stellt sicher, dass das Bild nie breiter als sein Container ist */
    max-width: 100%; 
    height: auto; 
    /* Optional: Runde Ecken, falls gewünscht */
    border-radius: 5px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Leichter Schatten */
}

/* Anpassung für kleinere Bildschirme (Mobile-First) */
@media (max-width: 768px) {
    .figur-bild-container {
        float: none; /* Bild nicht mehr seitlich vom Text */
        width: 100%; /* Das Bild nimmt volle Breite ein */
        margin-left: 0;
    }
}
.tab-nav {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab-button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

.tab-button:hover {
    background-color: #ddd;
}

.tab-button.active {
    background-color: #ccc;
    border-bottom: 2px solid #3498db; /* Aktiven Tab hervorheben */
}

.tab-content {
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
}

/* Füge dies in deine Haupt-CSS-Datei (css/style.css) ein */
.support-section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.patreon-section {
    border-color: #f77066; /* Patreon-Farbe */
    background-color: #fff9f9;
}
.paypal-section {
    border-color: #003087; /* PayPal-Farbe */
    background-color: #f9fbff;
}
.paypal-button {
    background-color: #003087;
    color: white !important;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}
.supporter-list ul {
    list-style-type: none;
    padding: 0;
    columns: 2; /* 2 Spalten für die Namen */
}
.supporter-list li {
    padding: 5px 0;
    border-bottom: 1px dotted #eee;
    font-size: 1.1em;
}
.small-hint {
    font-size: 0.9em;
    color: #666;
    margin-top: -10px;
    margin-bottom: 20px;
}

.supporter-list ul {
    list-style: none; /* Entfernt die Standard-Listenpunkte */
    padding-left: 0;
}

.supporter-list li {
    display: flex; /* Stellt sicher, dass Name und Badge in einer Reihe sind */
    align-items: center;
    justify-content: space-between; /* Platziert den Namen links und das Badge rechts */
    padding: 8px 0;
    margin-bottom: 2px;
    border-bottom: 1px solid #222; /* Trennlinie */
}

.platform-badge {
    font-size: 0.9em;
    padding: 4px 10px;
    border-radius: 5px; /* Rechteckige Badges */
    font-weight: bold;
    margin-left: 15px;
    text-transform: uppercase;
}

/* Farben für die Plattformen */
.platform-patreon {
    background-color: #ff424d; /* Rotes Patreon-Branding */
    color: white;
}

.platform-paypal {
    background-color: #003087; /* Dunkelblaues PayPal-Branding */
    color: white;
}
/* Telegram Link in der Navigation hervorheben */
.nav-telegram-link {
    font-weight: bold;
    color: #0088cc !important; /* Telegrams Markenfarbe */
    border: 1px solid #0088cc;
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 15px;
}

.nav-telegram-link:hover {
    background-color: #0088cc;
    color: white !important;
}

/* Button-Stil für die support.php */
.telegram-button {
    background-color: #0088cc;
    border-color: #0088cc;
}
.telegram-button:hover {
    background-color: #006da8;
}
/* --- Unterstützung (Support) Seite Styles --- */

/* Allgemeine Anordnung der Support-Sektionen */
.support-area {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.support-section {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    flex: 1 1 45%; /* Lässt Ko-fi und PayPal nebeneinander stehen */
    min-width: 300px; 
}

.support-section h2 {
    color: #333;
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Allgemeine Button-Stile */
.button-primary {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    color: white !important;
}

/* Spezifische Farben für Ko-fi und PayPal */
.kofi-button {
    background-color: #2979ff; /* Ko-fi Blau */
    border: 1px solid #2979ff;
}
.kofi-button:hover {
    background-color: #0056e6;
}

.paypal-button {
    background-color: #00457C; /* PayPal Blau */
    border: 1px solid #00457C;
}
.paypal-button:hover {
    background-color: #00325a;
}

.small-hint {
    font-size: 0.9em;
    color: #666;
    margin-top: 15px;
}

/* --- Unterstützer-Liste und Badges --- */

.thanks-section {
    flex: 1 1 100%; /* Nimmt die volle Breite ein */
    margin-top: 30px;
}

.supporter-list ul {
    list-style: none;
    padding: 0;
}

.supporter-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between; /* Name links, Badge rechts */
    align-items: center;
}

/* Badge Styling */
.platform-badge {
    font-size: 0.75em;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    color: white;
}

/* Spezifische Farben für die Plattformen */
.platform-ko-fi {
    background-color: #2979ff; /* Ko-fi Blau */
}

.platform-paypal {
    background-color: #00457C; /* PayPal Blau */
}