/* Layout & Basics */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    background: #f3f4f6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.03em;
}.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.03em;
}

.logo-img {
    height: 64px;
    width: auto;
    display: block;
}


.nav {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
}

.nav a {
    padding: 4px 8px;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
    background: #f3f4f6;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
    background: #020617;
}

.btn-secondary {
    background: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
}

/* Hero */

.hero {
    padding: 64px 0 48px;
    background: radial-gradient(circle at top left, #e5e7eb, #f3f4f6 55%, #ffffff);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.1;
    margin: 0 0 16px;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #4b5563;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.hero-note {
    font-size: 0.9rem;
    color: #6b7280;
}

.hero-side {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 20px 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid #e5e7eb;
    max-width: 360px;
}

.hero-card h2 {
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.hero-card li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.hero-card li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #111827;
    position: absolute;
    left: 2px;
    top: 0.65em;
}

/* Sections */

.section {
    padding: 56px 0;
    background: #f9fafb;
}

.section-alt {
    padding: 56px 0;
    background: #ffffff;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.section p {
    max-width: 760px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.step {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 18px 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.section-alt .step {
    background: #f9fafb;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.step p {
    font-size: 0.95rem;
    margin: 0;
}

/* Features */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.feature {
    background: #f9fafb;
    border-radius: 16px;
    padding: 18px 18px 20px;
    border: 1px solid #e5e7eb;
}

.section-alt .feature {
    background: #ffffff;
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.feature p {
    font-size: 0.95rem;
    margin: 0;
}

/* Audience */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.audience-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 18px 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.section-alt .audience-card {
    background: #f9fafb;
}

.audience-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.audience-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Box */

.contact-box {
    margin-top: 24px;
    padding: 20px 20px 22px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.contact-box p {
    margin: 0 0 12px;
    font-size: 0.96rem;
}

/* Footer */

.footer {
    background: #111827;
    color: #e5e7eb;
    padding: 16px 0;
    margin-top: 32px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-nav a {
    color: #e5e7eb;
    opacity: 0.9;
}

.footer-nav a:hover {
    opacity: 1;
}

/* Responsive */

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .nav {
        display: none; /* optional: Navigation bei Mobile ausblenden, oder umstellen */
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-side {
        justify-content: flex-start;
    }

    .steps-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .audience-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 40px 0 32px;
    }

    .section,
    .section-alt {
        padding: 40px 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* ---- Additions for the project/about restructuring ---- */

.skip-link {
    /* visually hidden until it gets keyboard focus (robust against dark-mode/extension restyling) */
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    background: #111827;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 100;
}
.skip-link:focus {
    left: 8px;
    top: 8px;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
}

a:focus-visible, .btn:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.nav a[aria-current="page"] { background: #e5e7eb; font-weight: 600; }
.text-link { text-decoration: underline; text-underline-offset: 2px; }
.hero-note { color: #4b5563; }
.small { font-size: 0.9rem; }
.eyebrow { margin: 0 0 12px; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid;
}
.badge-done  { background: #ecfdf5; color: #065f46; border-color: #6ee7b7; }
.badge-plan  { background: #eff6ff; color: #1e3a8a; border-color: #93c5fd; }
.badge-later { background: #f3f4f6; color: #374151; border-color: #d1d5db; }
.badge-prep  { background: #fffbeb; color: #78350f; border-color: #fcd34d; }
.badge-dev   { background: #fffbeb; color: #78350f; border-color: #fcd34d; }

.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.status-col {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 18px 14px;
}
.status-col h3 { margin: 0 0 12px; }
.status-col ul { margin: 0; padding-left: 18px; color: #4b5563; font-size: 0.95rem; line-height: 1.6; }
.status-col li { margin-bottom: 8px; }

.status-heading { margin: 28px 0 12px; }
.plain-list { color: #4b5563; line-height: 1.7; font-size: 0.98rem; max-width: 760px; padding-left: 22px; }

.table-wrap { overflow-x: auto; }
.status-table { border-collapse: collapse; width: 100%; background: #fff; font-size: 0.93rem; }
.status-table th, .status-table td {
    border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.5; color: #374151;
}
.status-table thead th { background: #f3f4f6; }
.status-table tbody th { width: 20%; color: #111827; }

.prose { max-width: 800px; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin: 0 0 12px; }
.prose h2 { margin-top: 32px; }
.prose h3 { margin: 22px 0 8px; font-size: 1.05rem; }
.prose .lead { font-size: 1.1rem; }
.page-head { padding: 40px 0; }
.note {
    border-left: 4px solid #fcd34d; background: #fffbeb; padding: 12px 16px; border-radius: 4px; color: #374151 !important;
}
.legal h2 { font-size: 1.15rem; margin-top: 24px; }
.legal h1 { margin-bottom: 16px; }

@media (max-width: 900px) {
    /* keep navigation visible on mobile: second row under the logo */
    .nav { display: flex; flex-wrap: wrap; width: 100%; gap: 4px 8px; }
    .nav a { padding: 8px 12px; }
    .status-grid, .steps-4 { grid-template-columns: minmax(0, 1fr); }
    .status-table tbody th { width: auto; }
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }

@media (max-width: 700px) {
    /* status table becomes stacked cards on phones */
    .status-table, .status-table tbody, .status-table tr, .status-table th, .status-table td { display: block; width: 100%; }
    .status-table thead { position: absolute; left: -9999px; }
    .status-table tr { margin-bottom: 16px; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
    .status-table th, .status-table td { border: 0; }
    .status-table tbody th { background: #f3f4f6; }
    .status-table td::before { display: block; font-weight: 600; color: #111827; margin-bottom: 2px; }
    .status-table td::before { content: attr(data-label); }
}

/* Footer stays at the bottom of the window on short pages (for example About) */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.footer { flex-shrink: 0; margin-top: 0; }
