/* ===============================
   Farbvariablentext: #111827;   Farbvariablen
    --muted: #6b7280;
    --primary: #2563eb;
    --header: #1f2937;
    --border: #d1d5db;
}

body.dark {
    --bg: #0b1220;
    --card: #111827;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --primary: #60a5fa;
    --header: #020617;
    --border: #374151;
}

/* ===============================
   Grundlayout
   =============================== */

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

header {
    background: var(--header);
    color: #fff;
}

.header-inner {
    max-width: 900px;
    margin: auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

.toggle {
    background: transparent;
    border: 1px solid #94a3b8;
    color: #e5e7eb;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
}

/* ===============================
   Hauptcontainer
   =============================== */

main {
    max-width: 900px;
    margin: 1.5rem auto;
    background: var(--card);
    padding: 1.5rem;
    border-radius: 12px;
}

/* ===============================
   Formulare
   =============================== */

form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 0.45rem;
    margin-top: 0.25rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: #111827;
    box-sizing: border-box;
}

body.dark input,
body.dark textarea {
    background: #020617;
    color: var(--text);
}

textarea {
    min-height: 90px;
}

button {
    margin-top: 0.75rem;
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

button:hover {
    opacity: 0.9;
}

/* ===============================
   Kalender (unverändert)
   =============================== */

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-header div {
    text-align: center;
    font-weight: 600;
    color: var(--muted);
}

.cal-day,
.cal-empty {
    min-height: 90px;
    border-radius: 8px;
    padding: 6px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cal-empty {
    background: transparent;
    border: none;
}

.cal-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 4px;
}

.dot.workout { background: #22c55e; }
.dot.row { background: #3b82f6; }

/* ===============================
   Monatsnavigation
   =============================== */

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.calendar-nav a {
    text-decoration: none;
    font-size: 1.3rem;
    color: var(--primary);
}

body.dark .calendar-nav a {
    color: #93c5fd;
}

/* ===============================
   Footer
   =============================== */

footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 2rem;
}
   =============================== */

:root {
    --bg: #f3f4f6;
    --card: #ffffff;
xcvxcv