/* Schriftart Import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;500&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: 'Oswald', sans-serif;
    overflow-x: hidden;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: #ffe4e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 4px solid #ffc0cb;
    position: relative;
    z-index: 1000;
}

.domain-name {
    font-size: 1.5rem;
    font-weight: 500;
    color: #4a4a4a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 10px;
}

.nav-button {
    background-color: #ffffff;
    color: #4a4a4a;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: 2px solid #ffc0cb;
    border-radius: 0 !important;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #ffc0cb;
    color: white;
}

/* --- ICECAST TICKER --- */
.icecast-status {
    background-color: #ffffff;
    border: 2px solid #ffc0cb;
    padding: 5px 15px;
    width: 250px;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 0 !important;
}

.ticker-wrapper {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-text 15s linear infinite;
}

#icecast-title {
    color: #ffb6c1;
    text-transform: uppercase;
    font-size: 0.9rem;
}

@keyframes scroll-text {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --- BURGER ICON --- */
.burger-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.burger-icon span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #4a4a4a;
    border: 1px solid #ffc0cb;
    transition: 0.3s;
}

/* X-Animation */
.burger-icon.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger-icon.open span:nth-child(2) { opacity: 0; }
.burger-icon.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- BANNER --- */
.banner-container {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    border-bottom: 3px solid #ffc0cb;
}

.banner-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- WEBPLAYER CARD --- */
.player-container {
    width: 100%;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
}

.player-card {
    width: 100%;
    max-width: 600px;
    background-color: #fffafb;
    border: 3px solid #ffc0cb;
    padding: 40px;
    border-radius: 0 !important;
    box-shadow: 15px 15px 0px #ffe4e1;
    text-align: center;
    box-sizing: border-box;
}

.player-headline {
    color: #4a4a4a;
    text-transform: uppercase;
    border-bottom: 4px solid #ffc0cb;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 2rem;
}

.status-box {
    background-color: #ffffff;
    border: 2px solid #ffc0cb;
    padding: 20px;
    margin-bottom: 30px;
}

#player-current-title {
    color: #ffb6c1;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.player-btn {
    background-color: #ffc0cb;
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.player-btn:hover {
    background-color: #ffb6c1;
}

.volume-bar {
    width: 100%;
    margin-top: 20px;
    appearance: none;
    background: #ffe4e1;
    height: 10px;
    cursor: pointer;
}

.volume-bar::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffc0cb;
    cursor: pointer;
}

/* --- MOBILE QUERIES (Handy-Modus) --- */
@media screen and (max-width: 768px) {
    header {
        padding: 10px 15px; /* Weniger Platz verschwenden */
        display: flex;
        justify-content: space-between; /* Domain links, Burger rechts */
        align-items: center; /* Vertikal mittig */
        position: relative; /* Wichtig für das mobile Menü-Overlay */
    }

    .domain-name {
        font-size: 1.1rem; /* Kleiner auf dem Handy */
        margin: 0;
        flex-shrink: 0; /* Domain darf nicht schrumpfen */
    }

    /* Der Ticker im Header: Füllt den Platz dazwischen aus */
    .icecast-status {
        width: auto; /* Keine feste Breite mehr */
        flex-grow: 1; /* Nimmt den restlichen Platz ein */
        margin: 0 15px; /* Abstand zu Domain und Burger */
        padding: 3px 8px;
        max-width: 180px; /* Begrenzung, damit er nicht zu dominant wird */
    }

    .ticker-wrapper {
        animation-duration: 10s; /* Ticker läuft etwas schneller, da Box kleiner ist */
    }

    nav {
        margin: 0;
        padding: 0;
    }

    .burger-icon {
        display: flex; /* Jetzt sichtbar */
        margin-left: auto; /* Schiebt den Burger ganz nach rechts */
        z-index: 1001; /* Über allem */
    }

    /* Das ausklappbare Menü-Overlay */
    .nav-menu {
        display: none; 
        position: absolute;
        top: 100%; /* Direkt unter der Header-Kante */
        left: 0;
        width: 100%;
        background-color: #ffe4e1;
        flex-direction: column;
        padding: 0; /* Wir nutzen Padding in den Buttons */
        border-bottom: 4px solid #ffc0cb;
        z-index: 1000;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex; /* Wird per JS getriggert */
    }

    .nav-button {
        width: 100%;
        border: none;
        border-bottom: 1px solid #ffc0cb;
        padding: 15px;
        text-align: center;
        background-color: transparent;
    }
	

    .nav-button:last-child {
        border-bottom: none;
    }
	
	/* --- INNERHALB DER MEDIA QUERY (max-width: 768px) --- */

.banner-container {
    width: 100%;
    max-height: none; /* Blockierung der Höhe aufheben */
    height: auto;     /* Höhe passt sich dem Inhalt an */
    overflow: hidden;
}

.banner-image {
    width: 100% !important;  /* Bild darf NIEMALS breiter als der Screen sein */
    height: auto !important; /* Bild behält sein natürliches Seitenverhältnis */
    display: block;
    object-fit: contain;     /* Sorgt dafür, dass das ganze Bild sichtbar bleibt */
}
}

