/* ==================== SYSTEM-TYPOGRAFIE & VARIABLEN ==================== */
:root {
    --brand: #0B2D48;
    --brand-light: #16456B;
    --brand-surface: #F4F7FA;
    --text-main: #1E293B;
    --text-muted: #475569;
    --text-subtle: #64748B;
    --border-color: #E2E8F0;
    --white: #FFFFFF;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.375rem;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 30px rgba(11, 45, 72, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--brand-surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow-x: hidden;
}

::selection {
    background-color: var(--brand);
    color: var(--white);
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--brand-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Subtile geometrische Hintergrund-Akzente */
.bg-grid-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(11, 45, 72, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 45, 72, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
}

/* ==================== ZENTRIERTER HAUPTBEREICH ==================== */
.main-wrapper {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem;
}

.launch-card {
    width: 100%;
    max-width: 48rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .launch-card {
        padding: 3.25rem 3.5rem;
    }
}

/* Obere Akzentlinie in Markenblau */
.launch-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
}

/* Logo-Kopfzeile */
.brand-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 640px) {
    .brand-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo-box {
    width: 3rem;
    height: 3.35rem;
    flex-shrink: 0;
}

.brand-title {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    color: var(--brand);
    line-height: 1.15;
    text-transform: uppercase;
}

.brand-subtitle {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.2rem;
}

@media (min-width: 640px) {
    .brand-title {
        font-size: 1.35rem;
    }
    .brand-subtitle {
        font-size: 0.78rem;
    }
}

a.brand-lockup:hover .brand-title {
    color: var(--brand-light);
}

/* Status-Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    background-color: var(--brand-surface);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--brand);
    text-transform: uppercase;
    white-space: nowrap;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: var(--brand);
    animation: pulseDot 2.4s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
    .status-dot {
        animation: none;
    }
}

/* Headline & Einführung */
.hero-headline {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 1rem 0;
}

@media (min-width: 640px) {
    .hero-headline {
        font-size: 2.25rem;
    }
}

.hero-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 1.75rem 0;
}

/* Kompakte Schwerpunkt-Pills */
.focus-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.focus-pill {
    padding: 0.375rem 0.85rem;
    border-radius: var(--radius-lg);
    background-color: var(--brand-surface);
    border: 1px solid var(--border-color);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--brand);
}

/* ==================== KONTAKT- & VISITENKARTEN-BOX ==================== */
.contact-box {
    background-color: var(--brand-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .contact-box {
        padding: 1.75rem 2rem;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 680px) {
    .contact-grid {
        grid-template-columns: 1.15fr 1fr;
        gap: 2rem;
    }
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 0.35rem;
}

.address-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 0.2rem;
}

.address-lines {
    font-size: 0.925rem;
    color: var(--text-main);
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.address-lines a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.web-domain {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand);
}

.action-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background-color: var(--brand);
    color: var(--white);
    box-shadow: var(--shadow-xs);
}

.btn-primary:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--brand);
    border-color: #CBD5E1;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
}

.btn-secondary:hover {
    background-color: #F8FAFC;
    border-color: var(--brand);
}

/* ==================== MINIMALISTISCHER FOOTER ==================== */
.site-footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 1.5rem 1.25rem;
    border-top: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-subtle);
    text-align: center;
}

@media (min-width: 640px) {
    .footer-inner {
        flex-direction: row;
        text-align: left;
    }
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-links a {
    padding: 0.25rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-links a:hover {
    color: var(--brand-light);
}

/* ==================== RECHTSSEITEN (IMPRESSUM & DATENSCHUTZ) ==================== */
.legal-card {
    width: 100%;
    max-width: 48rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .legal-card {
        padding: 3rem 3.5rem;
    }
}

.legal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
}

.legal-main {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    padding: 2rem 1.25rem 2.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.back-link:hover {
    color: var(--brand-light);
}

.legal-card h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1.2;
    margin: 0 0 1.75rem 0;
}

.legal-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand);
    margin: 1.75rem 0 0.4rem 0;
}

.legal-card p,
.legal-card ul {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-card ul {
    padding-left: 1.25rem;
}

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

.legal-card a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-card a:hover {
    color: var(--brand-light);
}

.legal-note {
    background-color: var(--brand-surface);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1.1rem;
    margin: 0 0 0.75rem 0;
}

.legal-note p {
    margin: 0;
}

.legal-meta {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-subtle);
}
