/*
 * Market Insider - Home/CMS Design
 *
 * Dieses Stylesheet verfeinert das Basis-Design für die öffentlichen
 * CMS-Seiten, um eine modernere und ansprechendere Optik zu erzielen.
 * Es wird nach design.css geladen.
 */

:root {
    /* Größere, besser lesbare Basisschrift */
    --base-font-size: 16px;
    --line-height-base: 1.7;
}

body {
    font-size: var(--base-font-size);
}

/* Haupt-Contentbereich zentrieren und begrenzen */
.cms-main {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px 0px;
    width: 100%;
    box-sizing: border-box;
}

/* Header-Styling anpassen */
.cms-main > .app-header {
    background: transparent;
    border-bottom: none;
    padding: 3rem 0 1.5rem 0;
}

.cms-main > .app-header h1 {
    font-size: 2.5rem; /* Größerer Titel */
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-main);
    padding: 0;
}

.cms-main > .app-header .desc-wrapper {
    font-size: 1.125rem;
    color: var(--text-muted);
    padding: 0;
    margin-top: 0.5rem;
}

/* Workspace / Content-Bereich */
.app-workspace {
    /* padding-top: 1rem; */
    line-height: var(--line-height-base);
}

.app-workspace h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0.5rem 0 1rem;
/*    border-bottom: 1px solid var(--border-color);*/
    padding-bottom: 0.5rem;
}
.app-workspace h2 {
    font-size: 1.50rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0.5rem 0 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.app-workspace h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 2rem 0 0.75rem;
}

.app-workspace a:not(.cms-btn):not(.app-btn) {
    color: var(--btn-primary-bg);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease-in-out;
}

.app-workspace a:not(.cms-btn):not(.app-btn):hover {
    border-bottom-color: var(--btn-primary-bg);
}

.app-workspace p {
    margin-bottom: 1rem;
    padding: 0;
}

/* Footer anpassen */
.site-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 2rem 0;
    color: var(--text-muted);
}

.site-footer .footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.site-footer .footer-links a:hover {
    color: var(--text-main);
}
