@font-face {
    font-family: 'Inter';
    src: url('./inter.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

:root {
    --bg-color: #0a0a0a;
    --surface-color: #111111;
    --surface-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-color);
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: -50%;
    bottom: -50%;
    width: 1px;
    background-color: rgba(37, 99, 235, 0.15);
    z-index: -1;
    pointer-events: none;
}

body::before {
    left: 20%;
    transform: rotate(35deg);
}

body::after {
    left: 25%;
    transform: rotate(35deg);
}

/* Typography */
h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 700;
    text-wrap: balance;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 600;
    text-wrap: balance;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0));
    backdrop-filter: blur(8px);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-blue);
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.nav-cta {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Sections */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    width: 100%;
    max-width: 1400px;
    padding: 8rem 2rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 12rem;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-subtitle {
    margin: 2rem auto 3rem;
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    max-width: 600px;
    text-wrap: balance;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Features / Bento Grid */
.features-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.features-header p {
    margin-top: 1rem;
    font-size: 1.25rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.bento-item {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover {
    transform: translateY(-4px);
}

.bento-large {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--surface-color) 0%, #151e32 100%);
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-content h3 {
    margin-bottom: 0.75rem;
}

.bento-science {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, var(--surface-color) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 10rem 2rem;
    border-top: 1px solid var(--surface-border);
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-container p {
    margin: 1.5rem 0 3rem;
    font-size: 1.25rem;
}

/* Footer */
footer {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--surface-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ändert die Links im Footer (Datenschutz, Impressum etc.) */
.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.75rem;
    /* Vorher 0.85rem – HIER kleiner machen! */
}

/* Falls Sie auch die Textgröße der Links erzwingen wollen */
.footer-links a {
    color: var(--text-secondary);
    transition: color 0.2s;
    font-size: 0.75rem;
    /* Sorgt dafür, dass die Links mitschrumpfen */
}

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

/* Responsive */
@media (max-width: 768px) {
    .bento-large {
        grid-column: span 1;
    }

    section {
        padding: 5rem 1.5rem;
    }

    .hero {
        min-height: 80vh;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Ändert den Text ganz unten (z.B. Copyright, Zitate) */
.footer-bottom {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.55rem;
    /* Vorher 0.6rem – HIER bei Bedarf noch kleiner machen! */
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    text-align: left;
    max-width: 800px;
}

/* Falls im unteren Bereich Links sind (z.B. Quellenangaben) */
.footer-citation a {
    font-size: 0.55rem;
    /* Passt die Links im footer-bottom an */
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.8;
}

.footer-citation a:hover {
    color: var(--text-primary);
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
}

/* 3. Den Hinweis-Text ganz unten verkleinern */
.footer-bottom p {
    font-size: 8px !important;
    /* Behebt das Problem aus dem HTML direkt im CSS */
    margin: 0;
}