/* =========================
   DESIGN SYSTEM
========================= */
:root {
    /* DARK MODE (Standard) */
    --bg: #0b1220;
    --surface: #111a2e;
    --surface-light: #16213a;

    --primary: #4ade80;
    --accent: #60a5fa;

    --text: #e5e7eb;
    --muted: #94a3b8;

    --border: #1f2a44;
}

/* LIGHT MODE */
:root.light-mode {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-light: #e2e8f0;

    --primary: #16a34a;
    --accent: #2563eb;

    --text: #1e293b;
    --muted: #64748b;

    --border: #cbd5e1;
}

/* =========================
   GLOBAL RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* =========================
   HEADER
========================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* =========================
   NAVIGATION
========================= */
nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    transition: 0.2s ease;
    font-size: 0.95rem;
}

nav a:hover {
    background: var(--primary);
    color: #0b1220;
    transform: translateY(-2px);
}

/* =========================
   THEME BUTTON POSITION
========================= */
.theme-switch-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1100;
}

/* =========================
   MAIN LAYOUT
========================= */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* =========================
   HEADINGS
========================= */
h1, h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* =========================
   LINKS
========================= */
a {
    color: var(--accent);
}

a:hover {
    color: var(--primary);
}

/* =========================
   HERO
========================= */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--bg));
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    color: var(--muted);
}

/* =========================
   BUTTONS
========================= */
button, .btn {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: #0b1220;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* =========================
   CARD SYSTEM
========================= */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
}

/* =========================
   IMAGES
========================= */
img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.morgen { color: #d97706; }   /* warmes Orange */
.tag    { color: #16a34a; }   /* frisches Grün */
.abend  { color: #4338ca; }   /* tiefes Blau */