/*
 * Theme: Radio Hex Gold
 * Layout 1250 px breit; Grafiken in Full-HD-Qualität (1920 px Breite, werden herunterskaliert) und Grafiken in 1920 px Breite.
 * Grafiken in images/: bg.jpg (1920×1080), header.png (1920×420), footer.png (1920×220) – einfach austauschbar.
 */
* { box-sizing: border-box; }

:root {
    --fh-width: 1250px;
    --fh-side: 300px;
    --cyan: #cfd5e0;
    --magenta: #ffc432;
    --violet: #cd7f32;
    --text: #f4efe4;
    --panel: rgba(14, 11, 8, 0.86);
    --neon-cyan: 0 0 6px rgba(207, 213, 224, .9), 0 0 18px rgba(207, 213, 224, .55);
    --neon-mag: 0 0 6px rgba(255, 196, 50, .9), 0 0 18px rgba(255, 196, 50, .55);
}

body {
    margin: 0;
    padding: 14px 14px 0;
    font-family: 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: #0a0806 url(images/bg.jpg) no-repeat center top fixed;
    background-size: cover;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; text-shadow: var(--neon-cyan); }
img { border: 0; max-width: 100%; }

/* ===== Header ===== */
.site-header {
    position: relative;
    width: var(--fh-width);
    max-width: 100%;
    aspect-ratio: 1920 / 420;
    margin: 0 auto 64px;
    background: url(images/header.png) no-repeat center / 100% 100%;
    border-radius: 22px;
    box-shadow: 0 0 0 2px rgba(207, 213, 224, .55), 0 0 28px rgba(205, 127, 50, .55), 0 10px 30px rgba(0, 0, 0, .8);
}
.header-inner { position: static; }
.branding {
    position: absolute;
    left: 29%; right: 29%; top: 0; bottom: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
}
.site-title {
    display: inline-block;
    font-size: clamp(20px, 3.4vw, 46px);
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 14px;
    line-height: 1.05;
    text-transform: uppercase;
    color: #e8dcc0;
    background: linear-gradient(180deg, #ffffff 0%, #d9dde5 22%, #9aa3b2 40%, #fff3b0 52%, #ffc432 68%, #b8791a 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    /* 3D-Kante (Tiefe) + Schatten */
    filter: drop-shadow(-1px -1px 0 rgba(255,255,255,.5)) drop-shadow(1px 1px 0 rgb(170,115,30)) drop-shadow(1px 1px 0 rgb(159,107,28)) drop-shadow(1px 1px 0 rgb(148,100,26)) drop-shadow(1px 1px 0 rgb(137,92,23)) drop-shadow(1px 1px 0 rgb(126,84,21)) drop-shadow(1px 1px 0 rgb(115,76,19)) drop-shadow(1px 1px 0 rgb(105,69,17)) drop-shadow(1px 1px 0 rgb(94,61,15)) drop-shadow(1px 1px 0 rgb(83,53,13)) drop-shadow(1px 1px 0 rgb(72,45,10)) drop-shadow(1px 1px 0 rgb(61,38,8)) drop-shadow(1px 1px 0 rgb(50,30,6)) drop-shadow(6px 12px 10px rgba(0,0,0,.85)) drop-shadow(0 0 16px rgba(255,196,50,.4));
}
.site-title:hover { filter: drop-shadow(-1px -1px 0 rgba(255,255,255,.5)) drop-shadow(1px 1px 0 rgb(170,115,30)) drop-shadow(1px 1px 0 rgb(159,107,28)) drop-shadow(1px 1px 0 rgb(148,100,26)) drop-shadow(1px 1px 0 rgb(137,92,23)) drop-shadow(1px 1px 0 rgb(126,84,21)) drop-shadow(1px 1px 0 rgb(115,76,19)) drop-shadow(1px 1px 0 rgb(105,69,17)) drop-shadow(1px 1px 0 rgb(94,61,15)) drop-shadow(1px 1px 0 rgb(83,53,13)) drop-shadow(1px 1px 0 rgb(72,45,10)) drop-shadow(1px 1px 0 rgb(61,38,8)) drop-shadow(1px 1px 0 rgb(50,30,6)) drop-shadow(6px 12px 10px rgba(0,0,0,.85)) drop-shadow(0 0 26px rgba(255,230,140,.95)); text-shadow: none; }
.site-tagline {
    margin: 10px 0 0;
    font-size: clamp(10px, 1.1vw, 16px);
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffc432;
    background: linear-gradient(90deg, #cfd5e0, #ffc432 50%, #cfd5e0);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(1px 1px 0 #6b4a0e) drop-shadow(2px 2px 0 #5c3f0a) drop-shadow(3px 3px 0 #3e2a05) drop-shadow(3px 6px 4px rgba(0,0,0,.9));
}

/* ===== Hauptmenü ===== */
.main-nav { position: absolute; left: 0; right: 0; top: 100%; margin-top: 14px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
.main-nav a {
    display: block; min-width: 170px; padding: 6px 22px;
    text-align: center; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--cyan);
    background: rgba(14, 11, 8, .9);
    border: 2px solid var(--cyan);
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(207, 213, 224, .55), inset 0 0 12px rgba(207, 213, 224, .18);
    text-shadow: 0 0 8px rgba(207, 213, 224, .8);
}
.main-nav a:hover {
    color: #fff; text-decoration: none;
    border-color: var(--magenta);
    background: linear-gradient(90deg, rgba(255, 196, 50, .35), rgba(205, 127, 50, .35));
    box-shadow: 0 0 14px rgba(255, 196, 50, .8), inset 0 0 14px rgba(255, 196, 50, .3);
    text-shadow: 0 0 8px rgba(255, 196, 50, .9);
}

/* ===== Layout ===== */
.layout {
    width: var(--fh-width);
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--fh-side) minmax(0, 1fr) var(--fh-side);
    gap: 16px;
    align-items: start;
}
.sidebar-col { min-width: 0; }
.sidebar-col > .sidebar { margin-bottom: 20px; }

/* ===== Seitenboxen ===== */
.sidebar {
    position: relative;
    padding: 0 0 16px;
    font-size: 14px;
    text-align: center;
    background: linear-gradient(180deg, rgba(40, 28, 14, .92), rgba(12, 9, 6, .94));
    border: 2px solid var(--violet);
    border-radius: 18px;
    box-shadow: 0 0 14px rgba(205, 127, 50, .6), inset 0 0 26px rgba(0, 0, 0, .6);
    overflow: hidden;
}
.sidebar h3 {
    margin: 0 0 12px;
    padding: 10px 12px 9px;
    font-size: 17px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(207, 213, 224, .9);
    background: linear-gradient(90deg, rgba(207, 213, 224, .35), rgba(255, 196, 50, .35));
    border-bottom: 2px solid var(--cyan);
    box-shadow: 0 2px 12px rgba(207, 213, 224, .45);
}
.sidebar h4 { margin: 14px 16px 4px; font-size: 14px; color: var(--magenta); letter-spacing: 1px; text-shadow: 0 0 8px rgba(255, 196, 50, .6); }
.sidebar > :not(h3):not(h4) { margin-left: 16px; margin-right: 16px; }
.sidebar p { margin-top: 0; margin-bottom: 8px; }
.sidebar a { color: var(--text); }
.sidebar-page-list { list-style: none; margin: 0 8px; padding: 0; }
.sidebar-page-list a { display: block; padding: 4px 12px; border-radius: 30px; }
.sidebar-page-list a:hover { text-decoration: none; background: linear-gradient(90deg, rgba(207, 213, 224, .3), rgba(255, 196, 50, .3)); box-shadow: 0 0 10px rgba(207, 213, 224, .5); }

/* ===== Inhaltsbereich ===== */
.main-content {
    min-height: 340px;
    padding: 22px 30px 30px;
    background: var(--panel);
    border: 2px solid var(--cyan);
    border-radius: 20px;
    box-shadow: 0 0 18px rgba(207, 213, 224, .5), 0 8px 28px rgba(0, 0, 0, .8);
}
.page-content h1, .main-content h1 {
    margin: 0 0 20px;
    padding: 8px 18px;
    font-size: 26px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; text-align: center;
    color: #fff;
    text-shadow: 0 0 10px rgba(207, 213, 224, .9);
    background: linear-gradient(90deg, rgba(207, 213, 224, .28), rgba(255, 196, 50, .28));
    border: 2px solid var(--magenta);
    border-radius: 40px;
    box-shadow: 0 0 14px rgba(255, 196, 50, .6), inset 0 0 14px rgba(255, 196, 50, .2);
}
.main-content h2, .main-content h3 { color: var(--cyan); text-shadow: 0 0 8px rgba(207, 213, 224, .5); }
.main-content h2 { padding-bottom: 4px; border-bottom: 1px solid rgba(207, 213, 224, .4); }
.main-content hr { border: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent); box-shadow: 0 0 8px rgba(207, 213, 224, .6); }
.main-content blockquote { margin: 14px 24px; padding: 8px 16px; color: #f0ece4; border-left: 4px solid var(--magenta); background: rgba(255, 196, 50, .08); }
.main-content table { border-collapse: collapse; }
.main-content td, .main-content th { padding: 6px 10px; border: 1px solid rgba(207, 213, 224, .3); }
.main-content th { background: rgba(207, 213, 224, .18); color: #fff; }

/* ===== Footer ===== */
.site-footer {
    width: var(--fh-width);
    max-width: 100%;
    aspect-ratio: 1920 / 350;
    margin: 24px auto 14px;
    padding: 0 20px;
    display: flex; align-items: flex-end; justify-content: center;
    text-align: center;
    font-size: 13px; letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 1), 0 2px 4px #000;
    background: #0a0806 url(images/footer.png) no-repeat center top / 100% auto;
    border-radius: 20px;
    box-shadow: 0 0 0 2px rgba(255, 196, 50, .5), 0 0 24px rgba(255, 196, 50, .4);
}
.site-footer p { margin: 0; padding: 0 22px 10px; }

/* ===== Formulare ===== */
.auth-form { max-width: 440px; }
form label { display: block; margin-bottom: 14px; font-weight: 700; font-size: 13px; }
form input[type="text"], form input[type="email"], form input[type="password"], form input[type="number"],
form input[type="date"], form select, form textarea {
    display: block; width: 100%; margin-top: 4px; padding: 8px 12px;
    font-family: inherit; font-size: 14px;
    color: var(--text); background: rgba(10, 8, 6, .9);
    border: 1px solid rgba(207, 213, 224, .55); border-radius: 10px;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 10px rgba(255, 196, 50, .6); }
form textarea { resize: vertical; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-weight: normal; }
.checkbox-label input { width: auto; margin: 0; }
input[type="file"] { color: var(--text); }

button, .btn {
    display: inline-block; min-width: 130px; padding: 7px 22px;
    font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; text-align: center;
    color: #fff;
    background: linear-gradient(90deg, #8a93a3, #9a6a10);
    border: 2px solid var(--cyan);
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(207, 213, 224, .6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
    cursor: pointer;
}
button:hover, .btn:hover { color: #fff; text-decoration: none; border-color: var(--magenta); box-shadow: 0 0 16px rgba(255, 196, 50, .85); }
.btn-secondary { margin-left: 8px; }

.alert { padding: 10px 14px; margin-bottom: 14px; border-radius: 12px; border: 1px solid; }
.alert-error   { background: rgba(160, 20, 60, .5); border-color: #ff5d8f; color: #ffe0ea; }
.alert-success { background: rgba(10, 120, 90, .5); border-color: #3ff0b8; color: #dcfff3; }

/* ===== Radiostatus-Widget ===== */
body.theme-radio_fullhd .radio-widget {
    --radio-accent: var(--cyan);
    color: var(--text);
    background: rgba(10, 8, 6, .6);
    border: 2px solid var(--cyan);
    border-radius: 16px;
    box-shadow: 0 0 14px rgba(207, 213, 224, .5);
}
body.theme-radio_fullhd .radio-name, body.theme-radio_fullhd .radio-label { color: var(--magenta); opacity: 1; }
body.theme-radio_fullhd .sidebar .radio-widget { margin-left: 8px; margin-right: 8px; padding: .6rem .7rem; }

/* ===== Benutzer-Box & Profil ===== */
.user-box { text-align: center; }
.avatar { border-radius: 50%; object-fit: cover; background: #111; border: 2px solid var(--cyan); box-shadow: 0 0 12px rgba(207, 213, 224, .7); }
.avatar-lg { width: 128px; height: 128px; }
.user-name { font-weight: 800; margin-top: .35rem; color: #fff; }
.user-role { font-size: 11px; color: var(--magenta); margin-bottom: .5rem; letter-spacing: 1px; text-transform: uppercase; }
.user-menu { list-style: none; margin: 0 !important; padding: 0; }
.user-menu li { margin-bottom: 5px; }
.user-menu a { display: block; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--cyan); border: 1px solid var(--cyan); border-radius: 30px; background: rgba(14, 11, 8, .8); }
.user-menu a:hover { text-decoration: none; color: #fff; border-color: var(--magenta); box-shadow: 0 0 10px rgba(255, 196, 50, .7); }
.profile-card { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-bottom: 1rem; }
.profile-data { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: 0; }
.profile-data dt { font-weight: bold; color: var(--magenta); }
.profile-data dd { margin: 0; }
.profile-avatar-edit { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin-bottom: 1rem; }
.profile-form { max-width: 560px; }
.profile-form .form-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }

/* ===== Responsive ===== */
@media (max-width: 1120px) {
    .layout { grid-template-columns: minmax(0, 1fr); }
    .sidebar { max-width: 380px; width: 100%; margin-left: auto; margin-right: auto; }
    .site-header { margin-bottom: 120px; }
    .branding { left: 14%; right: 14%; }
    .site-footer { aspect-ratio: auto; min-height: 120px; }
}

/* ===== Boxen in der Mitte (mit Überschrift) ===== */
.content-box { margin: 0 0 18px; background: linear-gradient(180deg, rgba(40, 28, 14, .92), rgba(12, 9, 6, .94)); border: 2px solid var(--violet); border-radius: 18px; box-shadow: 0 0 14px rgba(205, 127, 50, .6); overflow: hidden; }
.content-box > h3 { margin: 0; padding: 9px 12px 8px; text-align: center; font-size: 17px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #fff; text-shadow: 0 0 10px rgba(207, 213, 224, .9); background: linear-gradient(90deg, rgba(207, 213, 224, .35), rgba(255, 196, 50, .35)); border-bottom: 2px solid var(--cyan); box-shadow: 0 2px 12px rgba(207, 213, 224, .45); }
.content-box-body { padding: 14px 18px; }
