/* --- BASIS & SCHRIFT --- */
@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 (Desktop) --- */
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;
    white-space: nowrap;
}

/* NAVIGATION DESKTOP */
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; }

/* TICKER DESKTOP */
.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 (Standard versteckt) */
.burger-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.burger-icon span { 
    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); }

/* --- IMPRESSUM SPEZIFISCH --- */
.legal-wrapper {
    width: 100%;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.legal-card {
    width: 100%;
    max-width: 800px;
    background-color: #fffafb;
    border: 3px solid #ffc0cb;
    padding: 50px;
    border-radius: 0 !important;
    box-shadow: 15px 15px 0px #ffe4e1;
    box-sizing: border-box;
}

.legal-title {
    font-size: 2.5rem;
    color: #4a4a4a;
    text-transform: uppercase;
    border-bottom: 5px solid #ffc0cb;
    display: inline-block;
    margin-bottom: 40px;
}

.legal-section h3 {
    color: #ffb6c1;
    text-transform: uppercase;
    margin-top: 30px;
    font-size: 1.1rem;
}

.legal-section p {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: #4a4a4a;
    word-wrap: break-word;
}

.legal-note {
    margin-top: 50px;
    padding: 20px;
    background-color: #ffe4e1;
    border-left: 10px solid #ffc0cb;
    font-style: italic;
    font-size: 0.9rem;
}

/* --- FOOTER --- */
footer {
    width: 100%;
    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-copyright { color: #4a4a4a; text-transform: uppercase; font-size: 0.85rem; }
.footer-nav { display: flex; gap: 10px; }
.footer-btn { 
    background-color: #ffffff; color: #4a4a4a; padding: 5px 12px; 
    text-decoration: none; font-size: 0.75rem; text-transform: uppercase; 
    border: 1px solid #ffc0cb; transition: 0.2s; 
}
.footer-btn:hover { background-color: #ffc0cb; color: white; }

/* --- MOBILE MASTER FIX --- */
@media screen and (max-width: 768px) {
    header { padding: 10px 15px; }

    .domain-name { font-size: 1.1rem; flex-shrink: 0; }

    .icecast-status {
        flex-grow: 1;
        margin: 0 10px;
        width: auto;
        max-width: 160px;
    }

    .burger-icon { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background-color: #ffe4e1;
        flex-direction: column;
        border-bottom: 4px solid #ffc0cb;
        z-index: 999;
    }
    .nav-menu.active { display: flex; }
    .nav-button { width: 100%; text-align: center; border: none; border-bottom: 1px solid #ffc0cb; padding: 15px; }

    .legal-wrapper { padding: 30px 10px; }
    .legal-card { padding: 25px 15px; box-shadow: 8px 8px 0px #ffe4e1; }
    .legal-title { font-size: 1.8rem; }
    .legal-note { border-left-width: 5px; }

    footer { flex-direction: column; gap: 15px; text-align: center; padding: 20px; }
}