/* =========================
   BASE RESET & LAYOUT
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    background: #0c0c0c;
    font-family: 'Teko', sans-serif;
    color: #fff;

    /* Footer bleibt unten – war korrekt */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================
   GLOBAL STRUCTURE
========================= */

main {
    flex: 1;
    display: block; /* ⬅ explizit, damit nichts reinfunkt */
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================
   NAVIGATION (Basis)
========================= */

.nav {
    background: #111;
    border-bottom: 1px solid #1a1a1a;
    padding: 12px 40px;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 32px;
    color: #ff1a1a;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 18px;
    color: #ccc;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #ff1a1a;
}

/* =========================
   PAGE CONTAINER
========================= */

.page {
    padding: 60px 40px;
    text-align: center;
}

.page-title {
    font-size: 48px;
    color: #ff1a1a;
    margin-bottom: 30px;
}

/* =========================
   BUTTONS (GLOBAL)
========================= */

.btn,
button {
    background: #ff1a1a;
    border: none;
    color: #fff;
    font-family: 'Teko', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 10px 22px;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover,
button:hover {
    background: #cc0000;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #090909;
    color: #666;
    text-align: center;
    font-size: 13px;
    padding: 16px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,26,26,0.6),
        transparent
    );
}
