/* assets/css/layout.css */

/* Farben / Tokens */
:root {
    --color-primary: #6CC04A;
    --color-primary-dark: #4A8C35;
    --color-bg: #f2f4f7;
    --color-surface: #ffffff;
    --color-border: #e5e7eb;
    --color-text: #111827;
    --color-muted: #6b7280;

    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 16px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
}

.site-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #ffffff;
    font-size: 14px;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.site-logo-sub {
    font-size: 12px;
    color: var(--color-muted);
}

/* Navigation */
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    font-size: 14px;
    color: var(--color-muted);
    padding: 6px 8px;
    border-radius: 999px;
    transition: background-color 0.15s ease-out, color 0.15s ease-out;
}

.site-nav a:hover {
    background: rgba(108, 192, 74, 0.08);
    color: var(--color-primary-dark);
}

/* Main */
.site-main {
    padding: 32px 0 40px;
}

/* Page header */
.page-header h1 {
    font-size: 26px;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 14px;
    color: var(--color-muted);
}

/* Cards / Grid (generisch) */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    padding: 20px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    background: #ffffff;
    padding: 14px 0;
    margin-top: 16px;
}

.site-footer-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 13px;
    color: var(--color-muted);
}

.site-footer-inner a {
    color: var(--color-muted);
    text-decoration: none;
}

.site-footer-inner a:hover {
    text-decoration: underline;
}

.footer-separator {
    opacity: 0.6;
}
