/*
Theme Name: MW Education Theme
Author: MW-Education
Description: Custom Theme für Scientific Sales Training. Brand-Tokens aus Corporate Design 2026.
Version: 2.0
*/

/* ════════════════════════════════════════════════════════════
   BRAND TOKENS — Single Source aus reference_brand_tokens.md
   ════════════════════════════════════════════════════════════ */
:root {
    /* Primary Navy */
    --navy: #012265;
    --navy-dark: #001847;
    --navy-light: #1D3A63;
    --logo-navy: #022A72;

    /* Primary Teal */
    --teal-bright: #14C088;
    --teal-green: #00B57F;
    --teal-mid: #0C9B7D;
    --teal-deep: #007C71;
    --teal-dark: #086761;
    --chevron-muted: #2A5E85;

    /* Text-Hierarchie */
    --text-primary: #1D3A63;
    --text-body: #3B4F6B;
    --text-muted: #6B7F99;

    /* Neutrals */
    --white: #FFFFFF;
    --offwhite: #F4F7FB;
    --line: #D8E0EB;

    /* Gradients */
    --grad-brand: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 100%);
    --grad-teal-line: linear-gradient(90deg, var(--teal-deep) 0%, var(--teal-mid) 50%, var(--chevron-muted) 100%);
}

/* ════════════════════════════════════════════════════════════
   BASIS
   ════════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ════════════════════════════════════════════════════════════
   LOGO
   ════════════════════════════════════════════════════════════ */
.custom-logo-link img,
.custom-logo {
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain;
}

/* ════════════════════════════════════════════════════════════
   TYPOGRAFIE-DEFAULTS
   ════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.font-serif,
blockquote.serif,
.serif {
    font-family: 'Source Serif 4', Georgia, serif;
}

.mono,
code {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* Eyebrow-Style — kleine Uppercase-Labels über Headlines */
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-deep);
    padding: 0.4rem 0.9rem;
    background: rgba(0, 124, 113, 0.08);
    border-radius: 999px;
}

/* ════════════════════════════════════════════════════════════
   BUTTONS — Brand-Variants
   ════════════════════════════════════════════════════════════ */
.btn-brand-primary,
.menu-item.is-button > a,
.is-button > a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    background: transparent;
    transition: all 0.15s ease;
}

.btn-brand-primary:hover,
.menu-item.is-button > a:hover,
.is-button > a:hover {
    background: var(--navy);
    color: var(--white);
}

/* ════════════════════════════════════════════════════════════
   GRADIENT-BAR — Akzent-Linie für Sektionsübergänge
   ════════════════════════════════════════════════════════════ */
.brand-teal-bar {
    height: 4px;
    background: var(--grad-teal-line);
}

/* ════════════════════════════════════════════════════════════
   PAGE-CONTENT — für generisches page.php (Datenschutz/Impressum/AGB)
   ════════════════════════════════════════════════════════════ */
.page-content {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.7;
}
.page-content > * + * { margin-top: 1.2rem; }
.page-content h2 {
    color: var(--navy);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2.5rem;
}
.page-content h3 {
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.8rem;
}
.page-content h4 {
    color: var(--navy-light);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.4rem;
}
.page-content p { color: var(--text-body); }
.page-content a {
    color: var(--teal-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.page-content a:hover {
    color: var(--teal-mid);
}
.page-content strong { color: var(--navy); font-weight: 600; }
.page-content ul, .page-content ol {
    padding-left: 1.5rem;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content ul li, .page-content ol li {
    margin-top: 0.4rem;
    color: var(--text-body);
}
.page-content blockquote {
    border-left: 3px solid var(--teal-deep);
    padding-left: 1.2rem;
    color: var(--text-primary);
    font-style: italic;
}
.page-content hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2rem 0;
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.page-content table th, .page-content table td {
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--line);
}
.page-content table th {
    background: var(--offwhite);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.85rem;
}
.page-content table td { color: var(--text-body); }
.page-content code {
    background: var(--offwhite);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.92em;
}
