/*
Theme Name: GH10 Clean
Theme URI: https://oliver-augst.com
Author: Oliver Augst & ChatGPT
Description: Minimal saubere Basis für GalaxyHunters 10.0
Version: 1.1
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(circle at 20% 0%, #1c2440 0, #050815 60%, #02030a 100%);
    color: #f5f7ff;
}

/* ---------- Global Layout ---------- */

.site-wrapper {
    max-width: 1400px;
    margin: 120px auto 80px;   /* konstanter Abstand nach oben */
    padding: 0 40px;
}

/* jede Seite steckt in .site-main */
.site-main {
    display: block;
}

/* Standard-Kachel / Section */
.gh-section {
    background: rgba(4, 8, 20, 0.93);
    border-radius: 22px;
    border: 1px solid rgba(140, 170, 255, 0.18);
    padding: 28px 28px 24px;
    margin-bottom: 40px;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.85),
        0 0 45px rgba(8, 20, 60, 0.6);
}

/* ---------- Header / Navigation ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: radial-gradient(circle at 0 0, rgba(65, 110, 255, 0.15), transparent 55%)
        , #02040d;
    border-bottom: 1px solid rgba(80, 110, 200, 0.4);
    z-index: 999;
}

.site-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #f5f7ff;
}

.site-nav a {
    color: #c9d4ff;
    text-decoration: none;
    font-size: 14px;
    margin-left: 20px;
}

.site-nav a:hover {
    color: #ffffff;
}

/* ---------- Hero / Dashboard ---------- */

.gh-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gh-hero-main {
    flex: 1 1 55%;
}

.gh-hero-score {
    flex: 1 1 260px;
    background: linear-gradient(135deg, rgba(24, 30, 60, 0.95), rgba(50, 25, 65, 0.98));
    border-radius: 18px;
    padding: 20px 22px 18px;
    border: 1px solid rgba(255, 80, 120, 0.4);
    color: #fdf2f6;
    box-shadow: 0 0 30px rgba(190, 40, 90, 0.6);
}

.gh-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
}

.gh-hero-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #c4ccea;
}

.gh-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(110, 170, 255, 0.8);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #dbe7ff;
    margin-bottom: 10px;
}

/* ---------- Sections allgemein ---------- */

h2.gh-section-title {
    margin: 0 0 8px;
    font-size: 22px;
}

.gh-section-subtitle {
    margin: 0;
    font-size: 14px;
    color: #c0cbef;
}

.gh-section-header {
    margin-bottom: 18px;
}

p {
    margin: 0 0 10px;
}

/* ---------- Buttons ---------- */

.gh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(130, 180, 255, 0.85);
    color: #e4ecff;
    background: radial-gradient(circle at 0 0, rgba(80, 140, 255, 0.6), rgba(40, 60, 140, 0.8));
    box-shadow: 0 0 16px rgba(40, 120, 255, 0.45);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.gh-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(80, 160, 255, 0.7);
    background: radial-gradient(circle at 0 0, rgba(120, 180, 255, 0.8), rgba(40, 80, 160, 0.95));
}

/* ---------- Wolkenradar-Block ---------- */

.gh-section-windy .gh-section-actions {
    margin-top: 18px;
}

.gh-windy-wrapper {
    margin-top: 10px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(6, 12, 30, 0.95);
    border: 1px solid rgba(110, 150, 255, 0.35);
    min-height: 220px;
}

.gh-windy-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9fb1ff;
    font-size: 14px;
    height: 220px;
    text-align: center;
    padding: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .site-wrapper {
        margin: 100px auto 60px;
        padding: 0 20px;
    }

    .gh-hero {
        flex-direction: column;
    }
}

/* ===========================
   HEADER / NAVIGATION
   =========================== */

.gh-page-bg {
    min-height: 100vh;
    background: radial-gradient(circle at top, #141c3b 0, #050814 45%, #020308 100%);
}

/* Header-Leiste */
.gh-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle at top left, rgba(89, 148, 255, 0.18), transparent 60%);
    backdrop-filter: blur(16px);
}

/* Innenlayout */
.gh-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Linke Seite: Badge + Titel */
.gh-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gh-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.1rem 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    box-shadow: 0 0 24px rgba(79, 70, 229, 0.65);
    color: #020617;
    font-weight: 700;
}

.gh-site-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #f9fbff;
    text-decoration: none;
}

/* Hauptmenü rechts */
.gh-main-nav {
    display: flex;
    align-items: center;
}

.gh-main-nav .gh-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menü-Links */
.gh-main-nav .gh-menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e5ecff;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        background 0.2s ease-out,
        color 0.2s ease-out,
        box-shadow 0.2s ease-out,
        transform 0.15s ease-out;
}

/* Hover / aktive Seite */
.gh-main-nav .gh-menu > li > a:hover,
.gh-main-nav .gh-menu > li.current-menu-item > a,
.gh-main-nav .gh-menu > li.current_page_item > a {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 60%),
                linear-gradient(90deg, #ef4444, #eab308);
    color: #020617;
    box-shadow: 0 0 20px rgba(248, 250, 252, 0.35);
    transform: translateY(-1px);
}

/* Mobile: Menü umbrechen */
@media (max-width: 900px) {
    .gh-header-inner {
        padding: 0.8rem 1.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .gh-main-nav .gh-menu {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .gh-main-nav .gh-menu > li > a {
        font-size: 0.78rem;
        padding: 0.3rem 0.75rem;
    }
}

/* ---------- Footer-Menü ---------- */

.gh-footer-nav {
    display: flex;
    align-items: center;
}

.gh-footer-menu {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.gh-footer-menu li {
    margin: 0;
}

.gh-footer-menu a {
    font-size: 12px;
    text-decoration: none;
    color: #c6d6ff;
    opacity: 0.8;
    transition: opacity 0.15s ease-out, color 0.15s ease-out;
}

.gh-footer-menu a:hover {
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(120, 160, 255, 0.7);
}


/* Abstand zum Content unter dem Header */
.gh-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4rem;
    padding: 2.5rem 0 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

/* Innerer Wrapper (gleiche Breite wie der Inhalt oben) */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Linke Seite: Branding / Text */
.footer-brand {
    flex: 1 1 220px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.footer-brand span {
    font-weight: 600;
}

.footer-brand small {
    display: block;
    margin-top: 0.35rem;
    font-weight: 400;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Rechte Seite: 2 Spalten Navigation + Rechtliches */

.footer-columns {
    display: flex;
    flex: 2 1 320px;
    gap: 3rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-col {
    min-width: 140px;
}

.footer-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Menüs */

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0.2rem 0;
}

.footer-menu a {
    font-size: 0.85rem;
    opacity: 0.85;
}

.footer-menu a:hover {
    opacity: 1;
}

/* ganz unten eine kleine Zeile, falls du sie nutzt */

.footer-bottom {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Mobile: Footer-Spalten untereinander */

@media (max-width: 768px) {
    .footer-inner {
        padding: 0 1.25rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-columns {
        justify-content: flex-start;
        gap: 1.5rem;
    }
}
