/*
Theme Name: KultPiloten Partyband
Author: Gemini AI
Description: Dark Theme für die KultPiloten (Schwarz/Blau/Lila)
Version: 1.1
*/

:root {
    --bg-dark: #050505;
    --accent-blue: #1e3a8a;
    --accent-purple: #4c1d95;
    --text-light: #f8fafc;
    --primary-gradient: linear-gradient(135deg, #050505 0%, #1e3a8a 50%, #4c1d95 100%);
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Navbar */
#main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Start: Mitte */
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 50px;
    box-sizing: border-box;
}

/* Sticky Zustand: Oben fixiert, Hintergrund dunkel */
#main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    justify-content: space-between;
    /* Schiebt Logo nach links, Menü nach rechts */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo Setup */
#nav-logo {
    width: 0;
    /* Start: Unsichtbar/Kein Platzverbrauch */
    opacity: 0;
    height: 40px;
    transition: all 0.5s ease;
    transform: translateX(-20px);
}

/* Logo wenn Sticky */
#main-nav.sticky #nav-logo {
    width: auto;
    /* Nimmt Platz ein */
    opacity: 1;
    transform: translateX(0);
}

.logo-svg path {
    fill: #8b5cf6;
    /* Färbt das Logo lila */
    transition: fill 0.3s ease;
}



/* Das Menü (nav-list) */
.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    transition: all 0.5s ease;
}

/* Wenn sticky, stellen wir sicher, dass das Menü rechts bleibt */
#main-nav.sticky .nav-list {
    margin-left: auto;
}

#main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

#main-nav a:hover {
    color: #8b5cf6;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slideshow {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    /* Macht das Bild dunkler für bessere Lesbarkeit */
}

.hero-content {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.hero-logo {
    max-width: 600px;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
}

.hero-content h1 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.btn-book {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(to right, #6366f1, #a855f7);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn-book:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* Sektionen */
section {
    padding: 100px 15%;
    background: var(--bg-dark);
}

/* Jede zweite Sektion bekommt einen leichten Farbverlauf */
section:nth-of-type(even) {
    background: linear-gradient(180deg, #050505 0%, #0f172a 100%);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: #c084fc;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.30em;
    /* Schafft Platz für die Unterlängen */
    display: inline-block;
    /* Manchmal nötig, damit das Padding korrekt wirkt */
}

.section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
    margin: 50px 0;
}

.section-title-container h2 {
    margin: 0;
    /* WICHTIG: WordPress Standard-Abstände entfernen */
    line-height: 1;
    /* Verringert den unsichtbaren Raum über/unter dem Text */
    display: flex;
    align-items: center;
}

.title-icon {
    transform: translateY(-2px);
    align-items: center;
    display: flex;
    width: 3em;
    /* Breite der Flügel */
    height: 1.5em;
    /* Höhe der Flügel */

    /* Hier wird die Farbe definiert! */
    /* Da deine Überschrift einen Verlauf hat, nutzen wir denselben hier: */
    background: #c084fc;

    /* Die SVG-Datei als Maske festlegen */
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.icon-left {
    -webkit-mask-image: url('Abbildungen/Fluegel_Links.svg');
    mask-image: url('Abbildungen/Fluegel_Links.svg');
}

.icon-right {
    -webkit-mask-image: url('Abbildungen/Fluegel_Rechts.svg');
    mask-image: url('Abbildungen/Fluegel_Rechts.svg');
}

/* Repertoire Grid */
.repertoire-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 15%;
}

.repertoire-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Formular */
input,
textarea {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.info-box {
    background: rgba(76, 29, 149, 0.2);
    border-left: 4px solid #8b5cf6;
    padding: 25px;
    border-radius: 0 15px 15px 0;
}

/* --- Hamburger Icon Styling --- */
.menu-toggle {
    display: none;
    /* Standardmäßig aus */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    position: absolute;
    right: 20px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* --- Mobile View (bis 768px) --- */
@media (max-width: 768px) {
    #main-nav {
        justify-content: flex-start;
        padding: 10px 20px;
        position: relative;
    }

    #main-nav.sticky {
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        /* Jetzt sichtbar */
    }

    #nav-logo {
        display: block !important;
        /* Auf Handy immer zeigen */
        opacity: 1 !important;
        width: 100px;
        transform: none !important;
    }

    /* Das ausklappbare Menü */
    .nav-list {
        position: absolute;
        top: 70px;
        left: -100%;
        /* Startet außerhalb des Bildschirms */
        flex-direction: column;
        background: rgba(5, 5, 5, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.4s;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
    }

    .nav-list.open {
        left: 0;
        /* Fährt rein beim Klicken */
    }

    .nav-list li {
        margin: 15px 0;
    }
}

/* --- Global Responsive Adjustments --- */
section {
    padding: 60px 5%;
    /* Weniger Padding auf kleinen Screens */
}

/* --- Navigation Responsive --- */
@media (max-width: 768px) {
    #main-nav {
        padding: 10px 20px;
    }

    #main-nav.sticky {
        padding: 10px 20px;
    }

    #main-nav ul {
        gap: 10px;
    }

    #main-nav a {
        font-size: 11px;
        /* Kleinere Schrift für das Menü auf Handys */
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }
}

/* --- Repertoire Grid Responsive --- */
@media (max-width: 768px) {
    .repertoire-grid {
        grid-template-columns: 1fr;
        margin: 0;
        /* Stapelt die Karten untereinander */
    }
}

/* --- Booking & Kontakt Responsive --- */
.booking-container {
    display: flex;
    flex-wrap: wrap;
    /* Erlaubt das Umbrechen */
    gap: 30px;
}

.booking-form-side {
    flex: 1;
    min-width: 300px;
    order: 2;
    /* Standard: Formular kommt als zweites */
}

.booking-info-side {
    flex: 1;
    min-width: 300px;
    order: 1;
    /* Standard: Info-Box kommt zuerst (oben) */
}

@media (min-width: 769px) {

    /* Auf dem Desktop tauschen wir die Rollen, falls das Formular links sein soll */
    .booking-form-side {
        order: 1;
    }

    .booking-info-side {
        order: 2;
    }
}

/* --- Hero Logo Korrektur --- */
@media (max-width: 480px) {
    .hero-logo {
        max-width: 180px;
    }
}

/* --- Footer Styles --- */
.site-footer {
    background-color: #050505;
    color: #cbd5e1;
    padding: 60px 0 20px;
    border-top: 2px solid #4c1d95;
    /* Lila Akzentlinie */
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: #8b5cf6;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.3));
}

.footer-column p,
.footer-column a {
    line-height: 1.8;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #60a5fa;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: #64748b;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav ul {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
}

/* Nächste Landungen Design */
.event-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: #8b5cf6;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Datum-Box */
.event-date {
    background: linear-gradient(135deg, #1e3a8a, #4c1d95);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
    margin-right: 25px;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    color: #cbd5e1;
    text-transform: uppercase;
}

/* Info Bereich */
.event-info {
    flex-grow: 1;
}

.event-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    color: white;
}

.event-details {
    margin: 0;
    color: #94a3b8;
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
}

/* Google Maps Icon */
.event-actions {
    margin-left: 20px;
}

.map-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: background 0.3s;
}

.map-link:hover {
    background: #4c1d95;
}

.map-icon {
    width: 24px;
    height: 24px;
    fill: #60a5fa;
    /* Hellblaues Icon */
}

.map-link:hover .map-icon {
    fill: white;
}

/* Responsive */
@media (max-width: 600px) {
    .event-card {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }

    .event-date {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }

    .event-details {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .event-actions {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}


/* Das Grid-Layout - Mitglieder */
.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Spalten auf Desktop */
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.member-card {
    position: relative;
    aspect-ratio: 1 / 1;
    /* Macht die Karten quadratisch */
    overflow: hidden;
    border-radius: 15px;
    background: #111;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Das Overlay (unsichtbar am Anfang) */
.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.9) 0%, rgba(30, 58, 138, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.member-info {
    transform: translateY(20px);
    transition: transform 0.4s ease;
    padding: 20px;
}

.member-info h3 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-info p {
    color: #c084fc;
    /* Lila Akzent für das Instrument */
    margin: 0;
    font-weight: bold;
    font-size: 1rem;
}

/* --- Hover Effekte --- */
.member-card:hover img {
    transform: scale(1.1);
    /* Bild zoomt leicht rein */
}

.member-card:hover .member-overlay {
    opacity: 1;
    /* Overlay wird sichtbar */
}

.member-card:hover .member-info {
    transform: translateY(0);
    /* Text rutscht sanft hoch */
}

/* --- Responsive Anpassung --- */
@media (max-width: 992px) {
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Spalten auf Tablets */
    }
}

@media (max-width: 600px) {
    .member-grid {
        grid-template-columns: 1fr;
        /* 1 Spalte auf Handys */
    }
}