:root {
    --primary-bg: #0a0a0a;
    --primary-text: #ffffff;
    --secondary-bg: rgba(26, 26, 26, 0.98);
    --accent-color: #0066cc;
    --accent-color2: #9d4edd;
    --popup-bg: #000000;
    --popup-text: #ffffff;
    --button-bg: #ffffff;
    --button-text: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s, color 0.3s;
    -webkit-tap-highlight-color: transparent;
}

/* ENTFERNE DIESE ZEILEN AUS DEM BODY:
background-image: url('https://ertnadis.com/images/bg1.jpg');
background-size: cover;
background-position: center;
background-attachment: fixed;
*/

/* WECHSELNDER HINTERGRUND MIT 6 BILDERN */
body {
    background-color: #0a0a0a;
    color: var(--primary-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    touch-action: manipulation;
    position: relative;
}

/* Hintergrund-Slideshow Container */
.bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Slideshow Bilder */
.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slideshow 30s infinite;
}

/* Bild-URLs - Hier kannst du deine eigenen Bilder einfügen */
.bg-slide:nth-child(1) {
    background-image: url('https://ertnadis.com/images/bg_01.jpg');
    animation-delay: 0s;
}

.bg-slide:nth-child(2) {
    background-image: url('https://ertnadis.com/images/bg_02.jpg');
    animation-delay: 5s;
}

.bg-slide:nth-child(3) {
    background-image: url('https://ertnadis.com/images/bg_03.jpg');
    animation-delay: 10s;
}

.bg-slide:nth-child(4) {
    background-image: url('https://ertnadis.com/images/bg_04.jpg');
    animation-delay: 15s;
}

.bg-slide:nth-child(5) {
    background-image: url('https://ertnadis.com/images/bg_05.jpg');
    animation-delay: 20s;
}

.bg-slide:nth-child(6) {
    background-image: url('https://ertnadis.com/images/bg_06.jpg');
    animation-delay: 25s;
}


/* Overlay für bessere Lesbarkeit */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Animation für Slideshow */
@keyframes slideshow {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    30% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Container Anpassung für bessere Lesbarkeit */
.container {
    flex: 1;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-top: 1rem;
    margin-bottom: 6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Popup Overlay anpassen für bessere Sichtbarkeit */
.popup-overlay {
    background-color: rgba(0, 0, 0, 0.98);
}

/* Light Mode Anpassungen */
body.light-mode .bg-overlay {
    background: rgba(255, 255, 255, 0.7);
}

body.light-mode .container {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Performance Optimierung */
.bg-slide {
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .bg-slide {
        animation-duration: 40s; /* Langsamer auf mobilen Geräten */
    }
    
    .container {
        padding: 0.8rem;
        margin-bottom: 5rem;
    }
}

/* Pause Animation bei reduzierter Bewegung */
@media (prefers-reduced-motion: reduce) {
    .bg-slide {
        animation: none;
        opacity: 1;
    }
    
    .bg-slide:not(:first-child) {
        display: none;
    }
}

/* Alternative: Einfacher Übergang statt Zoom */
.bg-slide {
    /* Alternative Animation ohne Zoom */
    animation: simple-slideshow 30s infinite;
}

@keyframes simple-slideshow {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Steuerung für Slideshow (optional) */
.slideshow-controls {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

.slideshow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.slideshow-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Für Light Mode */
body.light-mode .slideshow-btn {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: #333;
}

body.light-mode .slideshow-btn:hover {
    background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .slideshow-controls {
        bottom: 80px;
        right: 15px;
    }
    
    .slideshow-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Pausiert State */
.bg-slideshow.paused .bg-slide {
    animation-play-state: paused;
}

.container {
    flex: 1;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    /* background-color: rgba(0, 0, 0, 0.7); REDUZIEREN oder ENTFERNEN */
    background-color: rgba(0, 0, 0, 0.3); /* Hellerer Transparenz-Wert */
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-top: 1rem;
    margin-bottom: 6rem;
}

header {
    display: flex;
    justify-content: center; /* Zentriert für Mobile */
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--primary-text);
    text-align: center;
}

h1 {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.content {
    line-height: 1.6;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.content p {
    margin-bottom: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile Button Bar - IMMER SICHTBAR AUF MOBILE */
.mobile-button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: 70px;
}

/* Desktop Button Container - NUR AUF DESKTOP SICHTBAR */
.desktop-button-container {
    display: none; /* Standardmäßig ausgeblendet */
}

/* Gemeinsame Button-Stile */
.menu-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

/* Rechter Button (Hauptmenü) */
.right-menu-button {
    background-color: var(--accent-color);
}

.right-menu-button.active {
    background-color: #0052a3;
    transform: rotate(90deg);
}

.right-menu-button .hamburger {
    width: 22px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-menu-button .hamburger div {
    height: 2.5px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}

.right-menu-button.active .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.right-menu-button.active .line2 {
    opacity: 0;
}

.right-menu-button.active .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Linker Button (Musik) */
.left-menu-button {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.left-menu-button.active {
    background: linear-gradient(45deg, #4ecdc4, #ff6b6b);
    transform: rotate(90deg);
}

/* Mittlerer Button (Rechtliches) */
.center-menu-button {
    background: linear-gradient(45deg, var(--accent-color2), #ffd166);
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.center-menu-button.active {
    background: linear-gradient(45deg, #ffd166, var(--accent-color2));
    transform: translateY(-5px);
}

/* Menüs */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 70px; /* Platz für Button-Bar */
    background-color: var(--secondary-bg);
    z-index: 999;
    overflow: hidden;
    display: none;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-overflow-scrolling: touch;
}

.menu.active {
    display: flex;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rechts-Menü (Hauptmenü) */
.right-menu {
    /* Wird von .menu geerbt */
}

/* Mitte-Menü (Rechtliches) */
.center-menu {
    /* Wird von .menu geerbt */
}

/* Links-Menü (MP3 Player) */
.left-menu {
    /* Wird von .menu geerbt */
}

/* Gemeinsame Menü-Stile */
.menu-header {
    padding: 1.2rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.menu-header h2 {
    font-weight: 400;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.menu-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

/* Rechts-Menü Content */
.main-links {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
}

.main-link {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s;
    min-height: 100px;
    border: 1px solid transparent;
}

.main-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.main-link i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.main-link span {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Mitte-Menü Content */
.legal-links {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.legal-link {
    padding: 1.2rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    border-left: 4px solid var(--accent-color2);
}

.legal-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-left-color: #ffd166;
}

.legal-link i {
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
    color: var(--accent-color2);
}

.legal-link span {
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
}

/* Links-Menü Content (MP3 Player) */
.mp3-tracks {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    overflow-y: auto;
}

.mp3-track {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.mp3-track:hover, .mp3-track.active {
    background-color: rgba(0, 102, 204, 0.15);
    transform: translateX(5px);
    border-color: rgba(0, 102, 204, 0.3);
}

.mp3-track.active {
    background-color: rgba(0, 102, 204, 0.25);
}

.track-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(45deg, var(--accent-color), #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.track-info {
    flex: 1;
    min-width: 0; /* Wrapping verhindern */
}

.track-title {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-duration {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    min-width: 50px;
    text-align: right;
    flex-shrink: 0;
}

/* MP3 Player Controls */
.mp3-player-controls {
    padding: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.now-playing {
    flex: 1;
    min-width: 0;
}

.now-playing-title {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.now-playing-artist {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.player-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.player-btn:hover {
    transform: scale(1.1);
    background: #0052a3;
}

.player-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    touch-action: none;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.1s;
}

.time-display {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    min-width: 85px;
    text-align: center;
    flex-shrink: 0;
}

/* Social Media Section */
.social-section {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-shrink: 0;
}

.social-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 217, 109, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.2s;
    flex-shrink: 0;
	background-color: #00D96D;
}

.social-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Popup Fenster */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.58);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1001;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popup-overlay.active {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup {
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    background-color: var(--popup-bg);
    color: var(--popup-text);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.popup-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.popup-header h3 {
    font-size: 1.5rem;
    font-weight: 400;
    flex: 1;
    padding-right: 1rem;
}

.popup-close {
    background: transparent;
    border: none;
    color: var(--popup-text);
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.popup-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.popup-image {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* MP3 Player in Popup */
.popup-mp3-player {
    margin: 1.2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.popup-mp3-player h4 {
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-mp3-player h4 i {
    font-size: 1.2rem;
}

.popup-audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.popup-audio-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.popup-audio-btn:hover {
    transform: scale(1.1);
    background: #0052a3;
}

.popup-audio-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.popup-progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    min-width: 100px;
    touch-action: none;
}

.popup-progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.1s;
}

.popup-time-display {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    min-width: 85px;
    text-align: center;
    flex-shrink: 0;
}

/* Links unter dem MP3 Player */
.popup-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.popup-link {
    padding: 1rem;
    background-color: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.popup-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.popup-link i {
    font-size: 1rem;
}

/* AB HIER: TABLET UND DESKTOP ANPASSUNGEN */




@media (max-width: 480px) {
    .calendar-day {
        font-size: 0.8em;
        padding: 3px;
    }
    
    .calendar-weekdays div {
        font-size: 0.9em;
        padding: 3px;
    }
    
    .welcome-calendar {
        padding: 15px;
        margin: 15px 0;
    }
}









@media (min-width: 768px) {
    .container {
        padding: 2rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .content {
        font-size: 1.1rem;
    }
    
    /* Mobile Button Bar auf Desktop AUSBLENDEN */
    .mobile-button-container {
        display: none;
    }
    
    /* Desktop Button Container auf Desktop EINBLENDEN */
    .desktop-button-container {
        display: flex; /* Jetzt sichtbar auf Desktop */
        position: fixed;
        bottom: 2rem;
        left: 0;
        right: 0;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        pointer-events: none;
        z-index: 1000;
    }
    
    .desktop-button-container .menu-button {
        pointer-events: auto;
        position: static;
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    /* Menüs auf Desktop */
    .menu {
        top: auto;
        bottom: 8rem;
        left: auto;
        right: auto;
        width: 350px;
        height: 500px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    /* Positionierung der einzelnen Menüs */
    .left-menu {
        left: 50%;
        transform: translateX(-250px);
    }
    
    .center-menu {
        left: 50%;
        transform: translateX(-50%);
        width: 300px;
    }
    
    .right-menu {
        left: 50%;
        transform: translateX(150px);
    }
    
    .main-links {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .popup {
        max-width: 800px;
    }
    
    .popup-links {
        flex-direction: row;
    }
}

/* Sehr kleine Displays */
@media (max-width: 360px) {
    .menu-button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .main-link {
        min-height: 90px;
        padding: 0.8rem;
    }
    
    .main-link i {
        font-size: 1.6rem;
    }
    
    .main-link span {
        font-size: 0.8rem;
    }
    
    .track-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .track-title {
        font-size: 1rem;
    }
    
    .player-btn, .popup-audio-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .menu {
        bottom: 60px;
    }
    
    .mp3-tracks {
        max-height: 40vh;
    }
    
    .popup {
        max-height: 75vh;
    }
    
    .popup-content {
        max-height: 50vh;
    }
}

/* NEUE BUTTONS FÜR KONTAKT UND ÜBER MICH */
.kontakt-button {
    background: linear-gradient(45deg, #ff0000, #cc0000) !important;
    animation: pulse 2s infinite !important;
}

.about-button {
    background: linear-gradient(45deg, #0066cc, #004a99) !important;
    animation: float 3s infinite ease-in-out !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* MOBILE BUTTONS ANORDNUNG */
.mobile-button-container {
    justify-content: space-around;
}

/* DESKTOP BUTTONS ANORDNUNG */
@media (min-width: 768px) {
    .desktop-button-container {
        gap: 1.5rem;
    }
}

/* POPUP STYLES FÜR KONTAKT UND ÜBER MICH */
.popup-content {
    max-height: 80vh;
    overflow-y: auto;
}

.contact-info, .about-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item, .about-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.contact-item h3 {
    color: #ff6b6b;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-item p, .contact-item a {
    color: white;
    font-size: 1.1rem;
    line-height: 1.4;
}

.contact-item a {
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #ffd166;
    text-decoration: underline;
}

/* ÜBER MICH SPECIFISCHE STYLES */
.about-header {
    text-align: center;
    margin-bottom: 2rem;
}

.about-images {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.about-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-name {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.about-title {
    color: #ffd166;
    font-size: 1.1rem;
    font-style: italic;
}

.about-section h4 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.expertise-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #4ecdc4;
}

.expertise-item h5 {
    color: #4ecdc4;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* RESPONSIVE ANPASSUNGEN */
@media (max-width: 767px) {
    .about-images {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image {
        width: 120px;
        height: 120px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-button-container .menu-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .mobile-button-container {
        padding: 0.8rem 0.5rem;
    }
    
    .mobile-button-container .menu-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* DARK/LIGHT MODE TOGGLE BUTTON */
.theme-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: scale(1.1) rotate(15deg);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

/* LIGHT MODE STYLES */
body.light-mode {
    --primary-bg: #f5f5f5;
    --primary-text: #333333;
    --secondary-bg: rgba(255, 255, 255, 0.98);
    --accent-color: #000000;
    --accent-color2: #333333;
    --popup-bg: #ffffff;
    --popup-text: #333333;
    --button-bg: #000000;
    --button-text: #ffffff;
    --button-border: #000000;
    --button-shadow: rgba(0, 0, 0, 0.1);
    --progress-bg: #333333;
}

body.light-mode .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.3);
    color: #333333;
}

body.light-mode .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: #000000;
}

body.light-mode .container {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333333;
}

body.light-mode header {
    border-bottom-color: #333333;
}

body.light-mode .mobile-button-container {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .menu-button {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: #333333;
    color: #333333;
}

body.light-mode .menu-button:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    border-color: #000000;
}

body.light-mode .menu {
    background-color: rgba(255, 255, 255, 0.98);
    color: #333333;
}

body.light-mode .menu-header {
    background-color: rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .main-link,
body.light-mode .legal-link,
body.light-mode .mp3-track,
body.light-mode .contact-item,
body.light-mode .about-section {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .main-link:hover,
body.light-mode .legal-link:hover,
body.light-mode .mp3-track:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .social-button {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    color: #333333;
}

body.light-mode .social-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: #000000;
}

body.light-mode .popup {
    background-color: #ffffff;
    color: #333333;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .popup-header {
    background: rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .popup-link {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333333;
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .popup-link:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: #000000;
}

body.light-mode .player-btn,
body.light-mode .popup-audio-btn {
    background: rgba(0, 0, 0, 0.1);
    border-color: #333333;
    color: #333333;
}

body.light-mode .player-btn:hover,
body.light-mode .popup-audio-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

body.light-mode .progress-bar,
body.light-mode .popup-progress-bar {
    background: #333333;
}

body.light-mode .progress-container,
body.light-mode .popup-progress-container {
    background: rgba(0, 0, 0, 0.1);
}

/* ANIMATION FÜR MODE WECHSEL */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container, .menu, .popup, .menu-button, .social-button, .player-btn {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* RESPONSIVE ANPASSUNGEN FÜR TOGGLE BUTTON */
@media (max-width: 767px) {
    .theme-toggle-container {
        top: 15px;
        right: 15px;
    }
    
    .theme-toggle-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .theme-toggle-container {
        top: 10px;
        right: 10px;
    }
    
    .theme-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* FÜR SEHR GROSSE BILDSCHIRME */
@media (min-width: 1200px) {
    .theme-toggle-container {
        top: 25px;
        right: 25px;
    }
    
    .theme-toggle-btn {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

/* Social Media Links Styling */
.social-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 18px;
}

.social-link span {
    flex: 1;
    font-weight: 500;
}

.social-link .external-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Social Menu spezifisches Styling */
.social-menu .menu-content {
    padding: 20px;
}

/* Social Media Button Farbe */
.social-button-mobile.active,
.social-button-desktop.active {
    background: linear-gradient(45deg, #00D96D, #4ecdc4);
}

/* Dünnere, neon-grüne Scrollbalken für den gesamten Bereich */

/* Webkit Browser (Chrome, Safari, Edge, Opera) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ff88, #00cc6a, #00ff88);
    border-radius: 10px;
    box-shadow: 
        0 0 5px rgba(0, 255, 136, 0.5),
        0 0 10px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00ffaa, #00dd77, #00ffaa);
    box-shadow: 
        0 0 8px rgba(0, 255, 170, 0.7),
        0 0 15px rgba(0, 255, 170, 0.5);
    transform: scale(1.05);
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.1);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #00ff88 rgba(0, 0, 0, 0.1);
}

/* Spezifische Anpassungen für Menüs und Popups */
.menu-content,
.popup-content,
.mp3-tracks,
.legal-links,
.main-links,
.popup-overlay {
    scrollbar-width: thin;
    scrollbar-color: #00ff88 rgba(0, 0, 0, 0.1);
}

.menu-content::-webkit-scrollbar,
.popup-content::-webkit-scrollbar,
.mp3-tracks::-webkit-scrollbar {
    width: 5px;
}

.menu-content::-webkit-scrollbar-track,
.popup-content::-webkit-scrollbar-track,
.mp3-tracks::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    margin: 5px 0;
}

.menu-content::-webkit-scrollbar-thumb,
.popup-content::-webkit-scrollbar-thumb,
.mp3-tracks::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ff88, #00cc6a);
    border-radius: 10px;
    box-shadow: 
        0 0 4px rgba(0, 255, 136, 0.6),
        inset 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Light Mode Anpassungen */
body.light-mode ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00cc6a, #00994d, #00cc6a);
    box-shadow: 
        0 0 5px rgba(0, 204, 106, 0.5),
        0 0 10px rgba(0, 204, 106, 0.3);
}

body.light-mode * {
    scrollbar-color: #00cc6a rgba(0, 0, 0, 0.05);
}

body.light-mode .menu-content::-webkit-scrollbar-track,
body.light-mode .popup-content::-webkit-scrollbar-track,
body.light-mode .mp3-tracks::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}

body.light-mode .menu-content::-webkit-scrollbar-thumb,
body.light-mode .popup-content::-webkit-scrollbar-thumb,
body.light-mode .mp3-tracks::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00cc6a, #00994d);
    box-shadow: 
        0 0 4px rgba(0, 204, 106, 0.5),
        inset 0 0 2px rgba(255, 255, 255, 0.8);
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
    
    .menu-content::-webkit-scrollbar,
    .popup-content::-webkit-scrollbar,
    .mp3-tracks::-webkit-scrollbar {
        width: 3px;
    }
}

/* Performance Optimierung */
* {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

/* Für Elemente, die kein Scrollbalken haben sollten */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animierter Neon-Effekt für aktive Scrollbalken */
@keyframes scrollbarGlow {
    0%, 100% {
        box-shadow: 
            0 0 5px rgba(0, 255, 136, 0.5),
            0 0 10px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 
            0 0 8px rgba(0, 255, 170, 0.7),
            0 0 15px rgba(0, 255, 170, 0.5);
    }
}

::-webkit-scrollbar-thumb:active {
    animation: scrollbarGlow 1s infinite;
}

/* Für Touch-Geräte optimieren */
@media (hover: none) and (pointer: coarse) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    
    ::-webkit-scrollbar-thumb {
        min-height: 40px;
        min-width: 40px;
    }
}




