/* ==========================================================================
   Frank Gaming – öffentliche Seiten (Startseite, Docs, Rechtliches)
   ========================================================================== */

.site-body { min-height: 100vh; display: flex; flex-direction: column; }
.site-body > main { flex: 1; }
.site-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.is-scrolled { background: rgba(7, 6, 13, .86); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.site-brand { display: flex; align-items: center; gap: 12px; color: var(--text); font: 700 19px var(--font-display); }
.site-brand:hover { text-decoration: none; }
.site-brand img { border-radius: 11px; }
.site-brand em { font-style: normal; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--cyan-soft); color: var(--cyan); font-size: 13px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav > a:not(.button) { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.site-nav > a:not(.button):hover, .site-nav > a.is-active { color: var(--text); background: var(--deck-2); text-decoration: none; }
.site-lang { display: inline-flex; margin: 0 8px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.site-lang a { padding: 3px 10px; border-radius: 999px; color: var(--faint); font: 600 12px var(--font-display); }
.site-lang a.is-active { background: var(--deck-3); color: var(--text); }
.site-lang a:hover { text-decoration: none; color: var(--text); }
.site-account { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14px; }
.site-account img { border-radius: 50%; }
.site-account:hover { border-color: var(--cyan); text-decoration: none; }
.site-menu-button { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--deck); color: var(--text); place-items: center; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
    background: radial-gradient(closest-side, rgba(154, 123, 255, .16), transparent 70%);
    pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--deck); color: var(--text); font-size: 14px; font-weight: 600; }
.hero-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 245, 160, .15); }
.hero-status.is-offline i { background: var(--warn); box-shadow: 0 0 0 4px rgba(255, 194, 75, .15); }
.hero-status span { color: var(--muted); font-weight: 500; }

/* Der eine laute Moment der Seite: ein Neon-Schriftzug, der beim Laden einmal aufflackert. */
.neon-sign {
    font-size: clamp(48px, 7.4vw, 92px);
    line-height: .98;
    letter-spacing: -.02em;
    color: #f4fdff;
    text-shadow: 0 0 6px rgba(59, 232, 255, .9), 0 0 22px rgba(59, 232, 255, .55), 0 0 60px rgba(255, 63, 209, .35);
    animation: neon-on 1.6s steps(1, end) .2s both;
}
@keyframes neon-on {
    0% { opacity: .15; text-shadow: none; }
    12% { opacity: 1; }
    16% { opacity: .3; text-shadow: none; }
    22% { opacity: 1; }
    30% { opacity: .55; }
    36%, 100% { opacity: 1; }
}
.hero-lead { margin-top: 26px; max-width: 54ch; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 42px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; flex-direction: column-reverse; }
.hero-facts dt { color: var(--faint); font-size: 14px; }
.hero-facts dd { margin: 0; font: 700 26px var(--font-display); font-variant-numeric: tabular-nums; }

.hero-stage { position: relative; display: grid; justify-items: end; }
.hero-logo { position: absolute; top: -64px; left: -30px; width: 240px; height: auto; mix-blend-mode: screen; z-index: 2; pointer-events: none; }

/* ---------- Discord-Mockup (zeigt das echte Radio-Panel) ---------- */
.dc-window { position: relative; z-index: 1; width: min(100%, 470px); margin-top: 170px; border: 1px solid #2b2d31; border-radius: 12px; background: #313338; color: #dbdee1; font-family: "gg sans", var(--font-body); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 63, 209, .12); }
.dc-titlebar { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-bottom: 1px solid #26272b; color: #f2f3f5; font-size: 15px; }
.dc-hash { color: #80848e; }
.dc-topic { margin-left: 8px; padding-left: 12px; border-left: 1px solid #3f4147; color: #949ba4; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-messages { padding: 18px 16px 8px; }
.dc-msg { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.dc-avatar { border-radius: 50%; }
.dc-author { color: #f2f3f5; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.dc-bot { padding: 0 5px; border-radius: 4px; background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; }
.dc-author time { color: #949ba4; font-size: 12px; font-weight: 400; }
.dc-embed { position: relative; margin-top: 6px; padding: 12px 16px 14px; border-left: 4px solid var(--cyan); border-radius: 4px; background: #2b2d31; overflow: hidden; }
.dc-embed.is-live { border-left-color: var(--magenta); }
.dc-embed-title { color: #f2f3f5; font-weight: 600; font-size: 14px; }
.dc-embed-station { margin-top: 8px; color: #fff; font-weight: 700; font-size: 19px; }
.dc-embed-sub { font-size: 14px; color: #dbdee1; }
.dc-mention { padding: 0 3px; border-radius: 3px; background: rgba(88, 101, 242, .3); color: #c9cdfb; }
.dc-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; font-size: 13px; }
.dc-fields b { display: block; color: #f2f3f5; font-weight: 600; }
.dc-fields span { font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: #1e1f22; padding: 1px 4px; border-radius: 3px; }
.dc-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.dc-buttons span { padding: 6px 12px; border-radius: 4px; background: #4e5058; color: #fff; font-size: 13px; font-weight: 500; }
.dc-buttons .is-primary { background: #5865f2; }
.dc-buttons .is-danger { background: #da373c; }
.dc-input { display: flex; align-items: center; gap: 10px; margin: 10px 16px 16px; padding: 11px 14px; border-radius: 8px; background: #383a40; font-size: 14px; }
.dc-input span { color: #fff; font-weight: 600; }
.dc-input em { color: #949ba4; font-style: normal; }

.eq { position: absolute; right: 14px; top: 14px; display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.eq i { width: 3px; border-radius: 2px; background: linear-gradient(var(--magenta), var(--cyan)); animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(odd) { animation-duration: .8s; }
.eq i:nth-child(3n) { animation-duration: 1.35s; }
.eq i:nth-child(1) { animation-delay: -.2s } .eq i:nth-child(2) { animation-delay: -.5s } .eq i:nth-child(4) { animation-delay: -.7s } .eq i:nth-child(5) { animation-delay: -.1s }
.eq i:nth-child(7) { animation-delay: -.9s } .eq i:nth-child(8) { animation-delay: -.3s } .eq i:nth-child(10) { animation-delay: -.6s } .eq i:nth-child(11) { animation-delay: -.4s }
@keyframes eq { from { height: 4px; } to { height: 26px; } }

/* ---------- Sections ---------- */
.section-intro { max-width: 720px; margin-bottom: 40px; }
.section-intro h2 { font-size: clamp(32px, 4.4vw, 50px); }
.section-intro p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 60ch; }

.systems { padding: 96px 0; border-top: 1px solid var(--line); }
.sys-explorer { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 460px; border: 1px solid var(--line); border-radius: var(--r-shell); background: var(--deck); overflow: hidden; }
.sys-channels { padding: 0 10px 16px; background: #0c0b15; border-right: 1px solid var(--line); }
.sys-server { display: flex; align-items: center; gap: 10px; height: 56px; margin: 0 -10px 6px; padding: 0 16px; border-bottom: 1px solid var(--line); font-family: var(--font-display); }
.sys-server img { border-radius: 8px; }
.sys-category { margin: 18px 8px 6px; color: var(--faint); font-size: 13px; font-weight: 600; }
.sys-channels button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 500 15px var(--font-body); text-align: left; cursor: pointer; }
.sys-channels button:hover { background: var(--deck-2); color: var(--text); }
.sys-channels button[aria-selected="true"] { background: var(--deck-3); color: #fff; box-shadow: inset 3px 0 0 var(--cyan); }
.sys-glyph { width: 18px; text-align: center; color: var(--faint); font-size: 16px; }
.sys-panels { position: relative; padding: 40px clamp(24px, 4vw, 56px); }
.sys-panel { max-width: 640px; animation: sys-in .35s var(--ease); }
@keyframes sys-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sys-crumb { display: flex; align-items: center; gap: 8px; color: var(--faint); font-weight: 600; }
.sys-crumb span { color: var(--magenta); }
.sys-panel h3 { margin-top: 18px; font-size: clamp(28px, 3.4vw, 40px); }
.sys-text { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 56ch; }
.sys-panel ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.sys-panel li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--deck-2); }
.sys-panel li .icon { color: var(--cyan); }
.sys-link { display: inline-block; margin-top: 26px; font-weight: 600; }

/* ---------- Radio ---------- */
.radio-band { position: relative; padding: 0 0 96px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 63, 209, .05), transparent 40%); }
.dial { position: relative; height: 84px; border-bottom: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.dial-track { display: flex; gap: 44px; width: max-content; height: 100%; align-items: center; padding-left: 44px; animation: dial 70s linear infinite;
    background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 22px); background-size: 22px 14px; background-repeat: repeat-x; background-position: 0 100%; }
.dial-track span { color: var(--faint); font: 600 15px var(--font-display); white-space: nowrap; }
.dial-needle { position: absolute; left: 50%; top: 10px; bottom: 0; width: 2px; background: var(--magenta); box-shadow: 0 0 12px var(--magenta); }
@keyframes dial { to { transform: translateX(-50%); } }
.radio-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; padding-top: 72px; }
.radio-copy h2 { font-size: clamp(32px, 4.2vw, 48px); }
.radio-copy p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 48ch; }
.radio-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.radio-ways li { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--deck); }
.radio-ways li:first-child { border-color: rgba(255, 63, 209, .45); }
.radio-ways h3 { font-size: 21px; }
.radio-ways p { margin-top: 6px; color: var(--muted); }

/* ---------- Start ---------- */
.start { padding: 96px 0 110px; border-top: 1px solid var(--line); }
.start-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.start-steps li { display: flex; gap: 18px; padding: 28px; background: var(--deck); }
.start-steps li + li { border-left: 1px solid var(--line); }
.start-steps span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--cyan); border-radius: 10px; color: var(--cyan); font: 700 18px var(--font-display); }
.start-steps h3 { font-size: 20px; }
.start-steps p { margin-top: 6px; color: var(--muted); }
.start-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #05040a; padding-top: 56px; }
.site-footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; padding-bottom: 40px; }
.site-footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.site-footer-brand img { border-radius: 12px; }
.site-footer-brand strong { font: 700 18px var(--font-display); }
.site-footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 4px; }
.site-footer-nav { display: flex; gap: 56px; }
.site-footer-nav div { display: grid; gap: 8px; align-content: start; }
.site-footer-nav strong { color: var(--text); font-size: 14px; }
.site-footer-nav a { color: var(--muted); font-size: 15px; }
.site-footer-nav a:hover { color: var(--text); }
.site-footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }

/* ---------- Rechtliches & Newsletter-Ergebnisseiten ---------- */
.legal-page { width: min(820px, 100% - 32px); margin: 48px auto 96px; }
.legal-page h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
.legal-page h2 { font-size: 22px; margin: 36px 0 10px; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page p + p { margin-top: 12px; }
.legal-warning { padding: 14px 16px; border: 1px solid rgba(255, 194, 75, .4); border-radius: var(--r-control); background: rgba(255, 194, 75, .07); color: var(--text) !important; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-grid, .radio-grid { grid-template-columns: 1fr; }
    .hero-stage { justify-items: center; }
    .hero-logo { left: 50%; transform: translateX(-50%); width: 200px; top: -20px; }
    .dc-window { margin-top: 150px; }
    .start-steps { grid-template-columns: 1fr; }
    .start-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
    .site-footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .site-menu-button { display: grid; }
    .site-nav { position: absolute; top: 72px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--deck); }
    .site-nav.is-open { display: flex; }
    .site-lang { align-self: flex-start; margin: 6px 0; }
    .sys-explorer { grid-template-columns: 1fr; }
    .sys-channels { display: flex; gap: 6px; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
    .sys-server, .sys-category { display: none; }
    .sys-channels button { width: auto; flex: none; white-space: nowrap; }
    .site-footer-nav { flex-wrap: wrap; gap: 32px; }
}
@media (max-width: 520px) {
    .hero { padding-top: 28px; }
    .hero-lead { font-size: 17px; }
    .dc-fields { grid-template-columns: 1fr 1fr; }
    .dc-topic { display: none; }
    .hero-actions .button { width: 100%; }
}
