/* ===================================================
   NEXTHIT GLOBAL LAYOUT - EINHEITLICH AUF ALLEN SEITEN
   Mobile-First Design System
   =================================================== */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* === VARIABLEN === */
:root {
    --nh-black: #000;
    --nh-dark: #111;
    --nh-gray: #222;
    --nh-gray-light: #333;
    --nh-red: #E63946;
    --nh-red-dark: #C62836;
    --nh-white: #FFF;
    --nh-text-muted: #999;

    --nh-share-height: 32px;
    --nh-header-height: 60px;
    --nh-total-top: 92px; /* share + header */

    --nh-font-heading: 'Orbitron', sans-serif;
    --nh-font-body: 'Rajdhani', sans-serif;
    --nh-z-share: 1001;
    --nh-z-header: 1000;
    --nh-z-menu: 999;
    --nh-z-content: 1;
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--nh-font-body);
    background: var(--nh-black);
    color: var(--nh-white);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: var(--nh-total-top);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--nh-font-heading);
}

/* === SHARE BAR (GANZ OBEN) === */
.nh-share-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nh-share-height);
    background: var(--nh-black);
    border-bottom: none;
    z-index: var(--nh-z-share);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
}

.nh-share-btn {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    transition: opacity 0.2s;
}

.nh-share-btn:hover {
    background: transparent;
    opacity: 0.7;
}

.nh-share-btn:focus {
    outline: none;
    box-shadow: none;
}

.nh-share-btn svg {
    width: 14px;
    height: 14px;
    fill: #666;
}

.nh-share-btn:hover svg {
    fill: var(--nh-white);
}

/* Logo verstecken */
.nh-logo {
    display: none !important;
}

/* === HEADER (UNTER SHARE BAR) === */
.nh-header {
    position: fixed;
    top: var(--nh-share-height);
    left: 0;
    right: 0;
    height: var(--nh-header-height);
    background: var(--nh-black);
    border-bottom: 1px solid var(--nh-gray-light);
    z-index: var(--nh-z-header);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.nh-header::-webkit-scrollbar {
    display: none;
}

.nh-header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.nh-header-container::-webkit-scrollbar {
    display: none;
}

/* Logo */
.nh-logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 16px;
}

.nh-logo img {
    height: 32px;
    width: auto;
    display: block;
    max-height: 32px;
}

.nh-logo a {
    display: block;
}

/* Desktop Navigation */
.nh-nav {
    display: none;
    gap: 24px;
}

.nh-nav a {
    color: var(--nh-white);
    text-decoration: none;
    font-family: var(--nh-font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nh-nav a:hover,
.nh-nav a.active {
    color: var(--nh-red);
    border-bottom-color: var(--nh-red);
}

/* Burger Menu */
.nh-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 16px;
}

.nh-burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--nh-white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nh-burger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nh-burger.active span:nth-child(2) {
    opacity: 0;
}

.nh-burger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Menu */
.nh-mobile-menu {
    position: fixed;
    top: var(--nh-total-top);
    left: 0;
    right: 0;
    background: var(--nh-dark);
    border-bottom: 1px solid var(--nh-gray-light);
    z-index: var(--nh-z-menu);
    display: none;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
}

.nh-mobile-menu.active {
    display: flex;
}

.nh-mobile-menu a {
    color: var(--nh-white);
    text-decoration: none;
    padding: 14px 16px;
    background: var(--nh-gray);
    border-radius: 8px;
    font-family: var(--nh-font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nh-mobile-menu a:hover,
.nh-mobile-menu a.active {
    background: var(--nh-red);
}

/* === MAIN CONTENT === */
.nh-main {
    min-height: calc(100vh - var(--nh-total-top) - 80px);
    padding: 24px 16px;
}

.nh-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* === FOOTER === */
.nh-footer {
    background: var(--nh-dark);
    border-top: 1px solid var(--nh-gray-light);
    padding: 32px 16px;
}

.nh-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nh-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.nh-footer-links a {
    color: var(--nh-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nh-footer-links a:hover {
    color: var(--nh-red);
}

.nh-footer-copyright {
    text-align: center;
    color: var(--nh-text-muted);
    font-size: 0.85rem;
}

/* === DESKTOP (768px+) === */
@media (min-width: 768px) {
    .nh-nav {
        display: flex;
    }

    .nh-burger {
        display: none;
    }

    .nh-main {
        padding: 40px 24px;
    }

    .nh-footer {
        padding: 48px 24px;
    }

    .nh-footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nh-footer-links {
        gap: 24px;
    }
}

/* === LARGE DESKTOP (1200px+) === */
@media (min-width: 1200px) {
    .nh-header-container {
        padding: 0 32px;
    }

    .nh-main {
        padding: 48px 32px;
    }
}
