/* JLU SpaceForge — Public Website */

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    font-size: 16px;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3 { color: #1e3a5f; line-height: 1.3; }
h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 0.8rem; }
a { color: #4a9eff; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header / Navigation ──────────────────────────────────── */
.site-header {
    background: #1e3a5f;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 0;
    padding-bottom: 0;
    height: 56px;
}

.site-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.site-logo:hover { text-decoration: none; opacity: 0.9; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    padding: 4px;
    line-height: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.site-nav a {
    color: #a8c4e0;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.site-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

.btn-app {
    display: inline-block;
    background: #4a9eff;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}
.btn-app:hover {
    background: #3a8eef;
    text-decoration: none;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #16304d 100%);
    color: #fff;
    padding: 80px 0 72px;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
}

.hero .subtitle {
    font-size: 1.15rem;
    color: #a8c4e0;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn-app {
    font-size: 1rem;
    padding: 10px 28px;
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
    padding: 56px 0;
}

.section:nth-child(even) {
    background: #f4f6f8;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.section h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: #4a9eff;
    margin: 0.6rem auto 0;
    border-radius: 2px;
}

/* ── Schwerpunkte (cards) ─────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 20px;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

/* ── Plattform-Box ────────────────────────────────────────── */
.platform-box {
    background: #1e3a5f;
    color: #fff;
    border-radius: 8px;
    padding: 36px 32px;
    text-align: center;
}

.platform-box h2 {
    color: #fff;
}

.platform-box h2::after {
    background: rgba(255,255,255,0.3);
}

.platform-box p {
    color: #a8c4e0;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.platform-box .btn-app {
    margin-top: 0.8rem;
    font-size: 1rem;
    padding: 10px 28px;
    background: #4a9eff;
}

/* ── Kontakt ──────────────────────────────────────────────── */
.contact-block {
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.8;
}

.contact-block strong {
    color: #1e3a5f;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: #16304d;
    color: #8aa;
    font-size: 0.85rem;
    padding: 24px 0;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #8aa;
    text-decoration: none;
}
.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ── Legal pages ──────────────────────────────────────────── */
.legal {
    padding: 48px 0 64px;
}

.legal h1 {
    margin-bottom: 1.5rem;
}

.legal h2 {
    text-align: left;
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}

.legal h2::after {
    display: none;
}

.legal p, .legal li {
    font-size: 0.95rem;
    color: #444;
}

.legal ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal li {
    margin-bottom: 0.3rem;
}

.placeholder {
    background: #fff3cd;
    border: 1px dashed #c9a72e;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #856404;
    margin: 0.5rem 0 1rem;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero { padding: 56px 0 48px; }
    .hero h1 { font-size: 1.8rem; }
    .hero .subtitle { font-size: 1rem; }
    .section { padding: 40px 0; }
    .platform-box { padding: 28px 20px; }

    .nav-toggle { display: block; }

    .site-nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #1e3a5f;
        flex-direction: column;
        padding: 12px 24px 16px;
        gap: 4px;
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 10px 12px; width: 100%; }
    .site-nav .btn-app { text-align: center; margin-top: 4px; }

    .site-footer .container { flex-direction: column; text-align: center; }
}
