/* Schriftart Import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;500&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Weißer Hintergrund */
    font-family: 'Oswald', sans-serif;
    overflow-x: hidden; /* Verhindert horizontales Scrollen auf Handys */
}

/* --- HEADER --- */
header {
    background-color: #ffe4e1; /* Misty Rose */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 4px solid #ffc0cb; /* Pinke harte Kante */
    position: relative; /* Wichtig für das mobile Menü-Overlay */
    z-index: 1000;
}

.domain-name {
    font-size: 1.5rem;
    font-weight: 500;
    color: #4a4a4a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- NAVIGATION DESKTOP --- */
nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.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; /* STRENG KANTIG */
    transition: all 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 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: #ffb6c1;
    text-transform: uppercase;
}

@keyframes scroll-text {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --- BURGER ICON & ANIMATION --- */
.burger-icon {
    display: none; /* Nur mobil sichtbar */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 5px;
}

.burger-icon span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #4a4a4a;
    border: 1px solid #ffc0cb;
    transition: 0.3s; /* Smooth Transition zum X */
}

/* X-Transformation */
.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); }

/* --- CONTENT SECTIONS --- */
.banner-container {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    background-color: #fffafb;
    border-radius: 0 !important;
    border-bottom: 3px solid #ffc0cb;
}

.banner-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-section {
    width: 100%;
    background-color: #fffafb;
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.about-content {
    max-width: 800px;
    padding: 40px;
    background-color: #ffffff;
    border-left: 8px solid #ffc0cb;
    box-shadow: 15px 15px 0px #ffe4e1;
}

/* --- FOOTER --- */
footer {
    width: 100%;
    margin-top: 50px;
    background-color: #ffe4e1;
    border-top: 4px solid #ffc0cb;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.footer-left { display: flex; align-items: center; gap: 15px; }
.footer-copyright { color: #4a4a4a; text-transform: uppercase; font-size: 0.85rem; }
.footer-nav { display: flex; gap: 10px; }

/* --- MEDIA QUERIES (Smartphone & Tablet) --- */
@media screen and (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .domain-name {
        font-size: 1.2rem;
    }

    .icecast-status {
        width: 150px; /* Kleiner für Mobile */
    }

    .burger-icon {
        display: flex;
    }

    /* Menü-Overlay */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%; /* Direkt unter Header */
        left: 0;
        width: 100%;
        background-color: #ffe4e1;
        flex-direction: column;
        gap: 0;
        border-bottom: 4px solid #ffc0cb;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-button {
        width: 100%;
        text-align: center;
        border: none;
        border-bottom: 1px solid #ffc0cb;
        padding: 20px;
    }

    .banner-image {
        height: 300px;
    }

    .about-content {
        margin: 20px;
        box-shadow: 8px 8px 0px #ffe4e1;
    }

    footer {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }
}/* --- DER ENTSCHEIDENDE MOBILE BLOCK --- */
/* --- MOBILE MASTER FIX --- */
@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 */
}
}

