* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f0f13;
    color: #ffffff;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(15, 15, 19, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #2a2a35;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #b052ff;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s, transform 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: #b052ff;
    transform: scale(1.1);
    display: inline-block;
}

/* Allgemeine Sektionen */
.section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #b052ff;
}

.section p {
    color: #888;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at top, #1a1a24 0%, #0f0f13 100%);
    margin-top: 60px; /* Offset für Navbar */
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, #b052ff, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 50px;
}

.latest-episode {
    background-color: #1c1c24;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(176, 82, 255, 0.1);
    transition: transform 0.3s;
}

.latest-episode:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(176, 82, 255, 0.2);
}

.latest-episode span {
    font-size: 0.9rem;
    color: #b052ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.latest-episode h2 {
    margin: 10px 0 20px 0;
    font-size: 1.8rem;
}

audio {
    width: 100%;
    margin-top: 10px;
    border-radius: 30px;
}

/* Generator Section */
.generator-box {
    background-color: #1c1c24;
    padding: 40px;
    border-radius: 15px;
    border: 2px dashed #b052ff;
}

#random-topic {
    font-size: 1.5rem;
    margin-bottom: 30px;
    min-height: 60px;
}

.action-btn {
    background: linear-gradient(45deg, #b052ff, #4facfe);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: bold;
}

.action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(176, 82, 255, 0.5);
}

/* Soundboard Section */
.soundboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sound-btn {
    background-color: #2a2a35;
    color: white;
    border: 1px solid #444;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.sound-btn:hover {
    background-color: #b052ff;
    border-color: #b052ff;
    transform: translateY(-3px);
}

/* Stats Section */
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-box {
    background-color: #1c1c24;
    padding: 30px;
    border-radius: 15px;
    width: 250px;
    border: 1px solid #333;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: bold;
    color: #4facfe;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #ccc;
    text-transform: uppercase;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #08080a;
    border-top: 1px solid #2a2a35;
    margin-top: 50px;
}

.footer a {
    color: #b052ff;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

/* --- Header für Unterseiten --- */
.page-header {
    margin-top: 100px;
    padding: 60px 20px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: #b052ff;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: #888;
}

/* --- Profile Section --- */
.profiles-section {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1200px;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #1c1c24;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #333;
}

.profile-card.reverse {
    flex-direction: row-reverse;
}

.profile-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #b052ff;
    box-shadow: 0 10px 30px rgba(176, 82, 255, 0.2);
}

.profile-info {
    flex: 1;
    text-align: left;
}

.profile-info h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.role {
    display: inline-block;
    color: #4facfe;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    text-align: left;
}

.roast-quote {
    margin-top: 20px;
    padding: 15px;
    background-color: #0f0f13;
    border-left: 4px solid #b052ff;
    font-style: italic;
    color: #888;
}

/* --- SCROLL ANIMATIONEN --- */
.scroll-element {
    transition: all 1s ease-out;
}

/* Start-Zustand: Unsichtbar und nach links verschoben */
.hidden-left {
    opacity: 0;
    transform: translateX(-100px);
}

/* Start-Zustand: Unsichtbar und nach rechts verschoben */
.hidden-right {
    opacity: 0;
    transform: translateX(100px);
}

/* Ziel-Zustand: Sichtbar und am Originalplatz (wird via JavaScript hinzugefügt) */
.show {
    opacity: 1;
    transform: translateX(0);
}

/* Responsiv für Handys: Flexbox untereinander brechen */
@media (max-width: 768px) {
    .profile-card, .profile-card.reverse {
        flex-direction: column;
        text-align: center;
    }
    .profile-info {
        text-align: center;
    }
    .profile-info p {
        text-align: center;
    }
    .profile-image img {
        width: 100%;
        height: auto;
    }
}

/* --- Rezensionen (Masonry Layout) --- */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.review-card {
    background-color: #1c1c24;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    break-inside: avoid; /* Verhindert, dass eine Karte in der Mitte durchgeschnitten wird */
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.review-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(176, 82, 255, 0.15);
}

.stars {
    color: #ffd700; /* Goldgelb für die Sterne */
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.review-card p {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #ccc;
    font-style: italic;
    margin-bottom: 20px;
}

.review-card .author {
    display: block;
    color: #b052ff;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Eine besondere Review-Karte farblich hervorheben */
.highlight-review {
    background: linear-gradient(135deg, rgba(176, 82, 255, 0.1), rgba(79, 172, 254, 0.1));
    border: 1px solid #b052ff;
}

/* Responsiv: Auf Tablets 2 Spalten, auf Handys 1 Spalte */
@media (max-width: 900px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* --- Bildgalerie Layout (Mosaik / Bento Grid) --- */
.gallery-grid {
    display: grid;
    /* Erstellt automatisch Spalten, die mindestens 250px breit sind */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Feste Höhe für die Reihen, damit nichts ausfranst */
    grid-auto-rows: 250px; 
    /* Magie: Schließt automatisch alle Lücken im Raster! */
    grid-auto-flow: dense; 
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Kacheln, die 2 Spalten breit sind */
.gallery-item.wide {
    grid-column: span 2;
}

/* Kacheln, die 2 Reihen hoch sind */
.gallery-item.tall {
    grid-row: span 2;
}

/* Das einzelne Galerie-Element */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden; 
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid #333;
    /* Aspect-Ratio wurde entfernt, die Größe wird jetzt vom Grid bestimmt */
}

/* Das Bild selbst */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Etwas weniger aggressiver Graufilter, damit man mehr erkennt */
    filter: grayscale(80%) contrast(1.1); 
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05); /* Sanfterer Zoom, wirkt edler */
}

/* Der Text-Container */
.gallery-caption {
    position: absolute;
    bottom: -20px; /* Startet leicht nach unten versetzt */
    opacity: 0; /* Ist anfangs unsichtbar */
    left: 0;
    width: 100%;
    /* Weicherer Farbverlauf, der nicht sofort abgeschnitten aussieht */
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(15, 15, 19, 0.95) 0%, transparent 100%);
    color: white;
    transition: all 0.4s ease;
    text-align: left;
}

.gallery-caption h3 {
    font-size: 1.4rem;
    color: #b052ff;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.gallery-caption p {
    font-size: 1rem;
    color: #eee;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Hover-Effekt: Text taucht sanft auf und schiebt sich in Position */
.gallery-item:hover .gallery-caption {
    bottom: 0;
    opacity: 1;
}

/* Responsiv: Auf dem Handy wird alles zu einem einfachen, sauberen Feed */
@media (max-width: 768px) {
    .gallery-item.wide {
        grid-column: span 1;
    }
    .gallery-item.tall {
        grid-row: span 1;
    }
    /* Die Boxen werden auf dem Handy etwas flacher, um Platz zu sparen */
    .gallery-grid {
        grid-auto-rows: 250px; 
    }
}
/* --- Social Karussell (Swipe-Galerie) --- */
.carousel-section {
    max-width: 100%; /* Erlaubt das Rausscrollen aus dem Bildschirm */
    overflow: hidden;
}

.social-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    scroll-snap-type: x mandatory; /* Zwingt das Scrollen zum Einrasten */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 40px; /* Platz für die Scrollbar */
}

/* Scrollbar etwas hübscher machen */
.social-carousel::-webkit-scrollbar {
    height: 8px;
}
.social-carousel::-webkit-scrollbar-track {
    background: #0f0f13; 
}
.social-carousel::-webkit-scrollbar-thumb {
    background: #b052ff; 
    border-radius: 10px;
}

.carousel-card {
    flex: 0 0 300px; /* Jede Karte ist exakt 300px breit */
    background-color: #1c1c24;
    border-radius: 15px;
    border: 1px solid #333;
    scroll-snap-align: center; /* Hier rastet das Scrollen ein */
    overflow: hidden;
    transition: transform 0.3s;
}

.carousel-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 400px; /* Hochformat für TikToks/Reels */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.tiktok-badge {
    background-color: #fe2c55;
}

.insta-badge {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.card-content {
    padding: 20px;
}

.card-content p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 0;
    text-align: left;
}