/* ---------------------------------------------------------
   BASE
--------------------------------------------------------- */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Einheitliche Max-Breite aller Seiten */
.page-container,
main {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

/* Default typography inside <main> (legal pages) */
main {
    font-size: 14px;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   HEADINGS
--------------------------------------------------------- */

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}

h2 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Legal pages: unified smaller headings */
main h1 { font-size: 1.6em; }
main h2 { font-size: 1.3em; }

/* ---------------------------------------------------------
   FOOTER (Shared)
--------------------------------------------------------- */

.footer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 34px;
}

.footer-back {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #4CAF50;
    text-decoration: none;
}

.footer-back:hover {
    text-decoration: underline;
}

.site-footer {
    width: 100%;
    max-width: 600px;
    margin: 18px auto 0 auto;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.site-footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
}

.site-footer .footer-nav a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.site-footer .footer-nav a:hover {
    color: #333;
    text-decoration: underline;
}

.site-footer .footer-meta {
    margin-top: 10px;
    text-align: center;
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.3em;
    }
}

/* ---------------------------------------------------------
   LANDING PAGE (index.html)
   - Required because public/.htaccess enforces a CSP that blocks inline <style>
--------------------------------------------------------- */

body.landing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    width: 100%;
    padding: 0 20px;
    background: #fff;
}

body.landing .page-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
}

body.landing h1 {
    margin-bottom: 6px;
}

body.landing h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.landing-spacer {
    margin: 0;
    height: 14px;
}

.landing-hero {
    margin: 0 auto;
    max-width: 760px;
}

.landing-kicker {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
}

.landing-claim {
    margin: 0 auto;
    max-width: 760px;
    font-size: clamp(22px, 4vw, 42px);
    line-height: 1.12;
    font-weight: 800;
    color: #1f2d3a;
}

.landing-note {
    max-width: 680px;
    margin: 18px auto 0;
    color: #5b6570;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(15, 118, 110, 0.28);
    border-radius: 6px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.landing-button:hover {
    border-color: #0f766e;
}

.landing-button-primary {
    background: #0f766e;
    color: #fff;
}

.landing-points {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
    font-size: 13px;
    color: #44515d;
}

.landing-points span {
    border-top: 2px solid rgba(15, 118, 110, 0.28);
    padding-top: 10px;
}

body.landing .site-footer {
    width: 100%;
    max-width: 860px;
}

@media (max-width: 760px) {
    .landing-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .landing-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .landing-points {
        grid-template-columns: 1fr;
    }
}
