/* ============================================================
   G Kollektiv – Shared CSS
   Enthält alle gemeinsamen Styles, die auf Standard-Seiten
   (mit Header/Footer) verwendet werden.
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg: #000011;
    --accent: #00ccff;
    --accent2: #66bbff;
    --accent3: #ffaa33;
    --text: #d0dffb;
    --text2: #aaddffcc;
    --muted: #555a77;
    --success: #00ff88;
    --upcoming: #ff8800;
    --highlight: #ffff66;
}

/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* ---------- Background Logo (rotierend) ---------- */
.bg-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vmin;
    opacity: 0.08;
    pointer-events: none;
    filter: drop-shadow(0 0 50px #00ccff) drop-shadow(0 0 40px #aa66ff);
    animation: rotateBg 40s linear infinite;
}
@keyframes rotateBg {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Variante: langsames Spinning (links, danke) */
.bg-logo.spin-slow {
    opacity: 0.05;
    filter: drop-shadow(0 0 40px #00ccff);
    animation: spinSlow 60s linear infinite;
}
@keyframes spinSlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---------- Layout ---------- */
main {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.8rem 1.2rem 3rem 1.2rem;
}

/* ---------- Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.8rem;
}
.hero-left { display: flex; flex-direction: column; gap: 0.6rem; }
.hero-logo img {
    width: 260px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 22px rgba(0,204,255,0.7));
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%,100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-8px) rotate(1deg); }
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
}
.hero-subtitle { font-size: 0.98rem; color: var(--accent2); }
.hero-right { justify-self: flex-end; max-width: 320px; }
.hero-panel {
    background: rgba(0,0,40,0.6);
    border-radius: 14px;
    border: 1px solid rgba(0,204,255,0.3);
    padding: 1rem 1rem 1.1rem;
    font-size: 0.9rem;
    color: var(--text2);
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.55);
}
.hero-panel a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hero-panel a:hover {
    color: var(--accent2);
    text-shadow: 0 0 4px rgba(0,204,255,0.4);
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }

/* ---------- Badges ---------- */
.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(0,204,255,0.5);
    font-size: 0.7rem;
    color: var(--accent2);
    opacity: 0.9;
    transition: all 0.2s ease;
    background: rgba(0,204,255,0.1);
    text-decoration: none;
}
.badge:hover { background: rgba(0,204,255,0.3); border-color: var(--accent); }
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}
.hero-badges .badge {
    animation: pulse 2.5s ease-in-out infinite;
    transform-origin: center;
}

/* ---------- Back Link ---------- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 2px solid var(--accent);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--accent);
    background: rgba(0,204,255,0.15);
    transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
    box-shadow: 0 4px 12px rgba(0,204,255,0.2);
    margin-bottom: 1.5rem;
}
.back-link:hover {
    background: rgba(0,204,255,0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,204,255,0.35);
}

/* ---------- Sections & Cards ---------- */
.sections { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.2rem; }
.card {
    background: rgba(0,0,40,0.55);
    border-radius: 14px;
    border: 1px solid rgba(0,204,255,0.25);
    padding: 1.5rem 1.4rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.55);
}
.card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.11em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.card p {
    font-size: 0.97rem;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

/* ---------- Notice / Highlight Blocks ---------- */
.notice-highlight {
    margin-top: 1.2rem;
    padding: 1.1rem 1.3rem;
    border-left: 4px solid var(--accent);
    background: rgba(0,204,255,0.14);
    border-radius: 10px;
    font-weight: 600;
    color: var(--accent);
    text-shadow: 0 0 6px rgba(0,204,255,0.35);
    box-shadow: 0 0 22px rgba(0,204,255,0.25);
}

/* ---------- Haken ---------- */
.haken {
    display: inline-block;
    margin-right: 4px;
    color: #00ff88;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ---------- Fade & Slide Animation ---------- */
.fade-slide {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 0.5s forwards;
}
@keyframes fadeSlideIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- Footer (innerhalb von PHP-Seiten) ---------- */
footer {
    padding: 1.8rem 1.2rem 2.5rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
}
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-links { margin-top: 0.4rem; }
.footer-links a { color: var(--muted); text-decoration: none; margin: 0 0.35rem; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Category Headers (fragen.php) ---------- */
.category-header {
    text-align: center;
    margin: 1rem 0;
    padding: 0.8rem 0;
    border-bottom: 2px solid var(--accent);
    position: relative;
}
.category-header::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent2);
    border-radius: 1px;
}
.category-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,204,255,0.3);
}
.category-header p { color: var(--text2); font-size: 0.95rem; margin-top: 0.4rem; opacity: 0.85; }

/* ---------- Story Styles (geschichten.php) ---------- */
.story-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.8rem; }
.story-title { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; color: var(--text); margin: 0; }
.release-date { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--success); }
.release-date.upcoming { color: var(--upcoming); }
.story-footer { text-align: right; font-size: 0.9rem; color: var(--accent2); margin-top: 1rem; font-style: italic; }
.highlight { color: var(--accent); font-weight: 600; text-shadow: 0 0 4px rgba(0,204,255,0.3); }
.story-footer .highlight { color: var(--accent); font-weight: 600; text-shadow: 0 0 4px rgba(0,204,255,0.3); }
.highlight-song { border-left: 4px solid var(--accent); padding-left: 1.2rem; margin-bottom: 1rem; background: rgba(0,204,255,0.1); }
.highlight-song-album { border-left: 4px solid var(--accent2); padding-left: 1.2rem; margin-bottom: 1rem; background: rgba(102,187,255,0.1); }
.highlight-album-alt { background: rgba(0,204,255,0.15); box-shadow: 0 4px 12px rgba(0,204,255,0.2); border-radius: 10px; padding: 1.2rem; margin-bottom: 1rem; }
.highlight-album-desc { font-style: italic; color: var(--accent); margin: 0.5rem 0; font-size: 0.95rem; }
.album-icon { font-size: 1.4rem; margin-right: 0.6rem; color: var(--accent); }
.album-song { background: rgba(0,204,255,0.08); border-left: 3px solid var(--accent2); padding: 1rem 1.2rem 1rem 2rem; margin: 0.8rem 0 1.2rem 1rem; border-radius: 8px; }

/* ---------- Statement Line (ki.php) ---------- */
.statement-line {
    margin-top: 0.8rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--accent2);
    text-align: center;
    text-shadow: 0 0 10px rgba(0,204,255,0.4);
}

/* ---------- Downvote / Kacke Button ---------- */
#kacke-container {
    text-align: center;
    padding: 2.2rem 1.6rem;
    position: relative;
    overflow: hidden;
    min-height: 140px;
}
#downvote-btn {
    position: absolute;
    left: 50%;
    bottom: 0.6rem;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border: 2px solid var(--accent);
    background: rgba(0,122,204,0.15);
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.25,0.46,0.45,0.94);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,122,204,0.25);
}

/* ---------- Manifest Hero ---------- */
.manifest-hero {
    background: linear-gradient(160deg, rgba(0,204,255,0.12), rgba(0,0,60,0.7));
    border: 1.5px solid rgba(0,204,255,0.45);
    box-shadow: 0 0 25px rgba(0,204,255,0.25), 0 0 60px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}
.manifest-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0,204,255,0.18), transparent 60%);
    pointer-events: none;
}
.manifest-highlight {
    margin: 1.5rem 0;
    padding: 1.3rem 1.5rem;
    border-left: 4px solid var(--accent);
    background: rgba(0,204,255,0.14);
    border-radius: 10px;
    font-weight: 600;
    color: var(--accent);
    text-shadow: 0 0 6px rgba(0,204,255,0.35);
    box-shadow: 0 0 22px rgba(0,204,255,0.25);
    line-height: 1.7;
    text-align: center;
}

/* ---------- CTA Highlight (start.php) ---------- */
.cta-highlight {
    background: linear-gradient(160deg, rgba(0,204,255,0.12), rgba(0,0,60,0.7));
    border: 1.5px solid rgba(0,204,255,0.45);
    box-shadow: 0 0 25px rgba(0,204,255,0.25), 0 0 60px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(0,204,255,0.18), transparent 65%);
    pointer-events: none;
}
.geschichten-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 2px solid var(--accent);
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--accent);
    background: rgba(0,204,255,0.15);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
    box-shadow: 0 4px 12px rgba(0,204,255,0.2);
}
.geschichten-highlight:hover {
    background: rgba(0,204,255,0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,204,255,0.35);
}

/* ---------- Musik Pill Links (start.php) ---------- */
.link-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(0,204,255,0.35);
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text);
    background: rgba(0,204,255,0.08);
    transition: background 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}
.pill-link img { width: 18px; height: 18px; }
.pill-link:hover { background: rgba(0,204,255,0.25); border-color: var(--accent); transform: translateY(-1px); }

/* ---------- FAQ Card (fragen.php) ---------- */
.card.faq-card { cursor: pointer; }
.faq-answer { font-size: 0.88rem; line-height: 1.45; margin-top: 0.4rem; color: var(--text2); }
.faq-tagline { font-style: italic; color: var(--muted); font-size: 0.82rem; margin-top: 0.3rem; }

/* ---------- Kontakt ---------- */
.mailto-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 2px solid var(--accent);
    font-size: 1rem;
    text-decoration: none;
    color: var(--accent);
    background: rgba(0,204,255,0.15);
    font-weight: 600;
    transition: all 0.3s ease;
}
.mailto-highlight:hover {
    background: rgba(0,204,255,0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,204,255,0.3);
}

/* ---------- Links Grid (links.php) ---------- */
.page-head { text-align: center; margin-bottom: 2.5rem; }
.page-head h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 0.6rem;
}
.page-head p { color: var(--text2); max-width: 650px; margin: 0 auto; line-height: 1.6; }
.notice {
    max-width: 760px;
    margin: 0 auto 3rem;
    padding: 1.2rem 1.4rem;
    border-radius: 14px;
    border: 1px solid rgba(0,204,255,0.35);
    background: linear-gradient(135deg, rgba(0,204,255,0.15), rgba(120,80,255,0.15));
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 0 25px rgba(0,204,255,0.25);
}
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}
.link-item {
    position: relative;
    overflow: hidden;
    background: rgba(0,0,40,0.55);
    border-radius: 18px;
    border: 1px solid rgba(0,204,255,0.25);
    padding: 1.5rem 1.4rem 1.6rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.55);
    transition: 0.35s;
}
.link-item:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 12px 30px rgba(0,204,255,0.25); }
.link-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0,204,255,0.25), transparent 60%);
    opacity: 0;
    transition: 0.3s;
}
.link-item:hover::after { opacity: 1; }
.link-item a { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-decoration: none; color: inherit; }
.link-item img { width: 100%; max-height: 150px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(0,204,255,0.35)); }
.link-title { font-family: 'Montserrat', sans-serif; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.link-desc { font-size: 0.9rem; color: var(--text2); text-align: center; line-height: 1.5; }

/* ---------- Thanks Page ---------- */
.thanks-card {
    background: rgba(0,0,40,0.55);
    border-radius: 18px;
    border: 1px solid rgba(0,204,255,0.35);
    padding: 2rem 1.6rem 2.2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.55);
}
.thanks-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}
.thanks-text { color: var(--text2); font-size: 1rem; line-height: 1.6; margin-bottom: 1.4rem; }
.thanks-actions { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; }
.thanks-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    border: 2px solid var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--accent);
    background: rgba(0,204,255,0.12);
    transition: 0.3s;
}
.thanks-btn:hover { background: rgba(0,204,255,0.35); transform: translateY(-2px); }

/* ---------- Erwischt / Fullscreen Pages ---------- */
.fullscreen-page {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.fullscreen-page .bg-logo {
    position: absolute;
    opacity: 0.12;
    animation: none;
}
.fullscreen-content {
    position: relative;
    text-align: center;
    max-width: 90%;
    z-index: 1;
}
.fullscreen-title { font-size: clamp(2rem,6vw,3rem); line-height: 1.2; margin-bottom: 1rem; }
.fullscreen-subtitle {
    font-size: clamp(1rem,2.5vw,1.3rem);
    color: #aaddff;
    margin-bottom: 1.5rem;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
}
.fullscreen-extra {
    font-size: clamp(0.9rem,2vw,1.1rem);
    color: #77caff;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
}
.fullscreen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    border-radius: 999px;
    border: 2px solid #00ccff;
    background: rgba(0,204,255,0.08);
    text-decoration: none;
    transition: 0.25s ease, box-shadow 0.6s ease-in-out;
    animation: pulseFull 2s infinite alternate;
}
.fullscreen-btn img { height: 40px; }
.fullscreen-btn:hover { background: rgba(0,204,255,0.25); transform: translateY(-2px); box-shadow: 0 0 20px #00ccff, 0 0 40px #aa66ff; }
@keyframes pulseFull {
    0%   { transform: scale(1);    box-shadow: 0 0 10px #00ccff; }
    50%  { transform: scale(1.05); box-shadow: 0 0 20px #00ccff, 0 0 40px #aa66ff; }
    100% { transform: scale(1);    box-shadow: 0 0 10px #00ccff; }
}
.fullscreen-footer {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    color: #445;
    font-family: 'Roboto', sans-serif;
}
.fullscreen-footer img { height: 22px; margin-top: 0.3rem; opacity: 0.6; }

/* ---------- Mobile Nav Fix ---------- */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
nav img { height: 28px; margin: 0 0.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .hero { grid-template-columns: 1fr; gap: 1rem; }
    .hero-right { justify-self: stretch; max-width: none; }
    .story-header { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
    nav { gap: 0.3rem; }
    .nav-btn { padding: 0.35rem 0.6rem; font-size: 0.82rem; white-space: nowrap; }
    nav img { height: 24px; margin: 0 0.4rem; }
}

/* ============================================================
   News-Ticker
   ============================================================ */
.news-ticker-wrap {
    width: 100%;
    background: rgba(0, 0, 20, 0.92);
    border-bottom: 1px solid rgba(0, 204, 255, 0.2);
    overflow: hidden;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 57px;
    z-index: 99;
    backdrop-filter: blur(10px);
}
.news-ticker-inner {
    display: flex;
    align-items: center;
    max-width: 960px;
    width: 100%;
    overflow: hidden;
    padding: 0 1.2rem;
}
.news-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #000;
    background: var(--accent);
    padding: 0.15rem 0.55rem;
    flex-shrink: 0;
    border-radius: 2px;
}
.news-ticker-track {
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
    margin: 0 0.7rem;
}
.news-ticker-text {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--text2);
    letter-spacing: 0.03em;
    animation: tickerScroll 25s linear infinite;
    white-space: nowrap;
    padding-left: 0;
}
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
    100% { transform: translateX(-50%); }
}
.news-ticker-wrap:hover .news-ticker-text {
    animation-play-state: paused;
}

/* ── Grid-Background (subtil) ──────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0,204,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,204,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 100% 100% at 50% 30%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 30%, black 20%, transparent 80%);
}
/* Sicherstellen dass alles relativ zum body z-index bleibt */
main, footer { position: relative; z-index: 1; }

/* ── Easter Egg: auf Mobile ausblenden ─────────────────── */
@media (max-width: 768px) {
    #kacke-container { display: none !important; }
}

/* ── Nav-Logo Fallback (falls logo-brush.png nicht da) ─── */
.nav-logo img { display: block; }
