/* =========================================
   FARBEN & GRUNDLAGEN (Club & Event Vibe)
   ========================================= */
:root {
    --bg-dark: #050B14;        
    --primary-blue: #0A1931;   
    --accent-red: #E60000;     
    --accent-red-glow: rgba(230, 0, 0, 0.5);
    --text-light: #F4F4F5;     
    --glass-bg: rgba(255, 255, 255, 0.03); 
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-headings: 'Oswald', sans-serif;
    --font-text: 'Open Sans', sans-serif;
}

body, html {
    margin: 0; padding: 0; font-family: var(--font-text);
    color: var(--text-light); line-height: 1.6;
    background: radial-gradient(circle at top left, var(--primary-blue) 0%, var(--bg-dark) 60%);
    background-attachment: fixed; overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-headings); letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.app-container { display: flex; min-height: 100vh; }

/* =========================================
   MOBILE HEADER
   ========================================= */
.mobile-header {
    display: none; background: rgba(10, 25, 49, 0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    padding: 15px 20px; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--glass-border); position: fixed; width: 100%; top: 0; z-index: 1000; box-sizing: border-box; box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.mobile-logo { font-family: var(--font-headings); color: var(--accent-red); font-weight: 700; font-size: 1.8rem; text-decoration: none; text-shadow: 0 0 10px var(--accent-red-glow); }
.hamburger { color: var(--text-light); font-size: 1.8rem; cursor: pointer; background: none; border: none; }

/* =========================================
   LINKE NAVIGATION (Sidebar)
   ========================================= */
nav.sidebar {
    width: 280px; background: linear-gradient(180deg, rgba(10, 25, 49, 0.7) 0%, rgba(5, 11, 20, 0.9) 100%);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-right: 1px solid var(--glass-border);
    height: 100vh; position: fixed; display: flex; flex-direction: column; padding: 30px 25px; box-sizing: border-box; z-index: 999;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow-y: auto; box-shadow: 5px 0 30px rgba(0,0,0,0.5);
}
.logo-box { text-align: center; margin-bottom: 40px; }
.logo-box img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.cta-btn {
    display: block; background: linear-gradient(45deg, #E60000, #990000); color: #fff; text-align: center; padding: 15px;
    border-radius: 30px; text-decoration: none; font-family: var(--font-headings); font-size: 1.1rem; font-weight: 700;
    margin-bottom: 30px; box-shadow: 0 4px 15px var(--accent-red-glow); transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.2);
}
.cta-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 25px rgba(230, 0, 0, 0.7); }
.nav-links { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.nav-links li { margin-bottom: 15px; }
.nav-links a { color: rgba(244, 244, 245, 0.7); text-decoration: none; font-size: 1.05rem; font-weight: 600; transition: all 0.3s ease; display: flex; align-items: center; gap: 12px; padding: 10px 15px; border-radius: 12px; }
.nav-links a i { color: var(--accent-red); font-size: 1.2rem; width: 25px; text-align: center; text-shadow: 0 0 5px var(--accent-red-glow); }
.nav-links a:hover { color: #fff; background: var(--glass-bg); transform: translateX(5px); }
.info-box { background: var(--glass-bg); backdrop-filter: blur(10px); padding: 20px; border-radius: 16px; border: 1px solid var(--glass-border); font-size: 0.9rem; margin-top: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.info-box strong { color: var(--accent-red); font-size: 1.1rem; }
.info-box i { color: var(--accent-red); margin-right: 8px; }
.info-box a { color: #fff; text-decoration: none; transition: color 0.3s; }
.info-box a:hover { color: var(--accent-red); }

/* =========================================
   HAUPTBEREICH & HERO (Content Rechts)
   ========================================= */
main.content { margin-left: 280px; padding: 40px 6%; width: calc(100% - 280px); box-sizing: border-box; }

.hero {
    background: linear-gradient(to right, rgba(10, 25, 49, 0.8), rgba(5, 11, 20, 0.4)), url('https://images.unsplash.com/photo-1516997180214-5d5138f322dc?q=80&w=2000') no-repeat center center;
    background-size: cover; padding: 80px 50px; border-radius: 24px; margin-bottom: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid var(--glass-border); position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%); z-index: 0; }
.hero > * { position: relative; z-index: 1; }

/* NEU: Z-Index 20 und Schatten, damit der Text IMMER VOR den Bildern ist */
.hero-text { flex: 1; position: relative; z-index: 20; }
.hero-text h1 { color: #fff; margin-top: 0; font-size: 3.8rem; line-height: 1.1; margin-bottom: 15px; text-shadow: 0 4px 20px rgba(0,0,0,0.9); }
.hero-text h1 span { color: var(--accent-red); }
.hero-text p { font-size: 1.25rem; max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,0.95); text-shadow: 0 2px 15px rgba(0,0,0,0.9); }

/* POLAROID BILDER */
.hero-photos { position: relative; width: 340px; height: 380px; flex-shrink: 0; z-index: 5; }
.polaroid {
    position: absolute; width: 100%; height: 100%; background: #fff; border: 8px solid #fff; border-bottom: 40px solid #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5); transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; border-radius: 4px;
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; }
.polaroid:nth-child(1) { transform: rotate(-15deg) translateX(-70px) translateY(20px); z-index: 1; }
.polaroid:nth-child(2) { transform: rotate(-5deg) translateX(-30px) translateY(-5px); z-index: 2; }
.polaroid:nth-child(3) { transform: rotate(5deg) translateX(10px) translateY(-15px); z-index: 3; }
.polaroid:nth-child(4) { transform: rotate(15deg) translateX(50px) translateY(5px); z-index: 4; }
.polaroid:nth-child(5) { transform: rotate(25deg) translateX(80px) translateY(25px); z-index: 5; }

@media (min-width: 901px) { 
    .polaroid:hover { transform: rotate(0deg) scale(1.1) translateY(-20px); z-index: 10; box-shadow: 0 25px 50px rgba(0,0,0,0.8); } 
}

/* LIGHTBOX SLIDER */
#lightbox {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95); align-items: center; justify-content: center; flex-direction: column;
}
#lightbox img { max-width: 90%; max-height: 80vh; border-radius: 8px; box-shadow: 0 0 30px rgba(0,0,0,0.8); user-select: none; }
.lb-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; transition: color 0.3s; z-index: 10000; }
.lb-close:hover { color: var(--accent-red); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 40px; color: rgba(255,255,255,0.5); cursor: pointer; transition: color 0.3s; user-select: none; padding: 20px; z-index: 10000; }
.lb-nav:hover { color: #fff; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* =========================================
   STANDARD BOXEN & LISTEN (Startseite)
   ========================================= */
.text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 50px; transition: all 0.5s ease; }
.text-box { background: var(--glass-bg); backdrop-filter: blur(12px); padding: 35px; border-radius: 20px; border: 1px solid var(--glass-border); box-shadow: 0 10px 40px rgba(0,0,0,0.3); transition: transform 0.3s ease; }
.text-box:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,0.5); border-color: rgba(255, 255, 255, 0.15); }
.text-box h3 { color: #fff; margin-top: 0; font-size: 1.8rem; display: flex; align-items: center; gap: 12px; border-bottom: 2px solid rgba(230, 0, 0, 0.3); padding-bottom: 15px; margin-bottom: 20px; }
.text-box h3 i { color: var(--accent-red); text-shadow: 0 0 8px var(--accent-red-glow); }

ul.check-list { list-style: none; padding: 0; }
ul.check-list li { margin-bottom: 15px; position: relative; padding-left: 35px; }
ul.check-list li::before { font-family: "Font Awesome 6 Free"; content: '\f00c'; font-weight: 900; color: var(--accent-red); position: absolute; left: 0; font-size: 1.2rem; text-shadow: 0 0 8px var(--accent-red-glow); }

/* =========================================
   BEWERTUNGEN / GOOGLE (Startseite)
   ========================================= */
.reviews-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.reviews-header h2 { margin: 0; font-size: 2.2rem; color: #fff; }
.reviews-header h2 i { color: var(--accent-red); text-shadow: 0 0 10px var(--accent-red-glow); }
.google-link { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.google-link:hover { color: #fff; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-bottom: 60px; }
.review-card { background: var(--glass-bg); backdrop-filter: blur(12px); padding: 25px; border-radius: 16px; border: 1px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: transform 0.3s ease; }
.review-card:hover { transform: translateY(-5px); border-color: rgba(230, 0, 0, 0.3); }
.stars { color: #FFD700; margin-bottom: 15px; font-size: 1.1rem; }
.review-text { font-style: italic; margin-bottom: 20px; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.reviewer { font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.reviewer i.fa-google { color: #4285F4; font-size: 1.2rem; }

/* =========================================
   MAGAZIN-LAYOUT (Einzel-Polaroids in Historie)
   ========================================= */
.story-container {
    max-width: 1100px; margin: 0 auto; color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem; line-height: 1.8;
}
.story-container::after { content: ""; clear: both; display: table; }
.story-container h3 {
    color: var(--accent-red); font-size: 2.2rem; margin-top: 60px; margin-bottom: 25px;
    border-bottom: 1px solid rgba(230, 0, 0, 0.3); padding-bottom: 10px; clear: both;
}
.story-container h3 i { margin-right: 15px; text-shadow: 0 0 8px var(--accent-red-glow); }
.story-container p { margin-bottom: 20px; }

.float-left { float: left; margin: 10px 40px 20px 0; width: 100%; max-width: 320px; }
.float-right { float: right; margin: 10px 0 20px 40px; width: 100%; max-width: 320px; }

.polaroid-inline {
    background: #fff; padding: 10px 10px 40px 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5); transition: transform 0.4s ease, z-index 0.4s ease;
    position: relative; z-index: 1; border-radius: 2px;
}
.polaroid-inline img { width: 100%; height: auto; display: block; cursor: pointer; border: 1px solid rgba(0,0,0,0.1); }

@media (min-width: 901px) {
    .polaroid-inline:hover {
        transform: scale(1.08) rotate(0deg) !important;
        z-index: 10; box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    }
}

/* =========================================
   RESPONSIVE DESIGN (Smartphone & Tablet)
   ========================================= */
@media (max-width: 900px) {
    .mobile-header { display: flex; }
    nav.sidebar { transform: translateX(-100%); padding-top: 90px; }
    nav.sidebar.active { transform: translateX(0); }
    main.content { margin-left: 0; width: 100%; padding: 100px 20px 40px 20px; }
    .hero { flex-direction: column; padding: 40px 20px; text-align: center; gap: 30px; }
    .hero h1 { font-size: 2.5rem; }
    .text-grid { grid-template-columns: 1fr; }
    .reviews-header { flex-direction: column; align-items: flex-start; gap: 10px; }

    .float-left, .float-right {
        float: none; 
        margin: 30px auto; 
        max-width: 280px; 
    }
    
    .hero-photos { width: 100%; max-width: 300px; height: 350px; margin: 0 auto; }
    @keyframes float1 { 0%, 100% { transform: rotate(-15deg) translateX(-35px) translateY(10px); } 50% { transform: rotate(-15deg) translateX(-35px) translateY(-5px); } }
    @keyframes float2 { 0%, 100% { transform: rotate(-5deg) translateX(-15px) translateY(-5px); } 50% { transform: rotate(-5deg) translateX(-15px) translateY(-20px); } }
    @keyframes float3 { 0%, 100% { transform: rotate(5deg) translateX(10px) translateY(-10px); } 50% { transform: rotate(5deg) translateX(10px) translateY(-25px); } }
    @keyframes float4 { 0%, 100% { transform: rotate(15deg) translateX(35px) translateY(5px); } 50% { transform: rotate(15deg) translateX(35px) translateY(-10px); } }
    @keyframes float5 { 0%, 100% { transform: rotate(25deg) translateX(55px) translateY(20px); } 50% { transform: rotate(25deg) translateX(55px) translateY(5px); } }
    
    .polaroid:nth-child(1) { animation: float1 4s ease-in-out infinite; }
    .polaroid:nth-child(2) { animation: float2 5s ease-in-out infinite 0.5s; }
    .polaroid:nth-child(3) { animation: float3 4.5s ease-in-out infinite 1s; }
    .polaroid:nth-child(4) { animation: float4 5s ease-in-out infinite 1.5s; }
    .polaroid:nth-child(5) { animation: float5 4s ease-in-out infinite 2s; }
}

/* =========================================
   KI CHAT (SUSI) - Gemini Style
   ========================================= */
.susi-chat-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: 600px; /* Feste Höhe für den Chat-Bereich */
}

.susi-chat-header {
    background: linear-gradient(to right, rgba(10, 25, 49, 0.9), rgba(5, 11, 20, 0.9));
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
}

.susi-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-red), #990000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 0 15px var(--accent-red-glow);
}

.susi-chat-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #fff;
    border: none;
    padding: 0;
}

.susi-chat-header span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-text);
}

.susi-chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-behavior: smooth;
}

/* Chat Bubbles */
.chat-message {
    max-width: 80%;
    padding: 15px 20px;
    font-size: 1.05rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease-out;
}

.susi-message {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 4px 20px 20px 20px;
    color: rgba(255, 255, 255, 0.9);
}

.user-message {
    align-self: flex-end;
    background: rgba(230, 0, 0, 0.15);
    border: 1px solid rgba(230, 0, 0, 0.3);
    border-radius: 20px 4px 20px 20px;
    color: #fff;
}

.susi-chat-input-area {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 15px;
}

.susi-chat-input-area input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 15px 25px;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-text);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.susi-chat-input-area input:focus {
    border-color: rgba(230, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.2);
}

.susi-chat-input-area button {
    background: linear-gradient(45deg, var(--accent-red), #990000);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.susi-chat-input-area button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px var(--accent-red-glow);
}

/* Kleiner Typing-Indikator */
.typing-dots i { margin: 0 2px; font-size: 0.5rem; animation: blink 1.4s infinite both; }
.typing-dots i:nth-child(2) { animation-delay: 0.2s; }
.typing-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0% { opacity: 0.2; } 20% { opacity: 1; } 100% { opacity: 0.2; } }