/* ============================================================
   NICKINO TEMPLATE – LAYOUT SYSTEM
   Grundstruktur ohne Media, ohne Animationen
   ============================================================ */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ============================================================
   BODY
   ============================================================ */
body {
    margin: 0;
    padding: 0;
    background: var(--bg-body);
    color: var(--text-color);
    font-family: system-ui, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================================
   TOPBAR (nur Desktop sichtbar via media.css)
   ============================================================ */
.topbar {
    width: 100%;
    background: var(--topbar-bg);
    color: var(--topbar-text);
    border-bottom: 1px solid var(--nav-border);
}

.topbar-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    width: 100%;
    background: var(--header-bg);
    color: var(--header-text);
    border-bottom: 1px solid var(--nav-border);
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Theme Toggle */
.theme-toggle {
    all: unset;
    cursor: pointer;
    font-size: 28px;
    color: var(--header-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   NAVIGATION (Mega-Menü später in components.css)
   ============================================================ */
.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
}

.main-nav li a {
    text-decoration: none;
    color: var(--nav-text);
    padding: 10px 14px;
    display: block;
    font-weight: 600;
    border-radius: 4px;
    transition: color .2s ease, background .2s ease;
}

.main-nav li a:hover {
    color: var(--nav-hover);
}

/* ============================================================
   MINI NAV (Sticky beim Scrollen)
   ============================================================ */
.mini-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    background: var(--mini-nav-bg);
    color: var(--mini-nav-text);

    transform: translateY(-100%);
    transition: transform .35s ease;

    z-index: 9999;
    padding: 8px 20px;
}

.mini-nav-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-logo img {
    height: 40px;
    width: auto;
}

.mini-icons i {
    font-size: 26px;
    margin-left: 14px;
    cursor: pointer;
    color: var(--mini-nav-text);
}

/* ============================================================
   RIGHT STICKYBAR (nur Desktop)
   ============================================================ */
.right-sticky-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 9998;
}

.right-sticky-nav i {
    font-size: 28px;
    color: var(--nav-hover);
    cursor: pointer;
}

/* ============================================================
   MOBILE STICKY NAV (unten)
   ============================================================ */
.mobile-sticky-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    background: var(--mobile-sticky-bg);
    color: var(--mobile-sticky-text);

    display: flex;
    justify-content: space-around;
    align-items: center;

    padding: 10px 0;
    z-index: 9999;
}

.mobile-sticky-nav i {
    font-size: 28px;
    cursor: pointer;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.site-main {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 60vh;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    width: 100%;
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 20px;
    border-top: 1px solid var(--nav-border);
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
}