/* ========================================
   ComposerMeet – Stylesheet
   Editorial / Refined Minimal
   ======================================== */

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

/* Variables */
:root {
    --navy: #0f2638;
    --navy-mid: #1a3a52;
    --navy-light: #243f55;
    --gold: #c9a96e;
    --gold-light: #dfc9a0;
    --cream: #faf8f5;
    --off-white: #f3f1ed;
    --white: #ffffff;
    --text: #1e2d3a;
    --text-muted: #5a6b78;
    --border: #e4e0da;

    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--text);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ── Navigation ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(15, 38, 56, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.25rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
}

.nav-menu a:hover {
    color: var(--navy);
}

.nav-cta {
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--navy);
    border-radius: 4px;
    color: var(--navy) !important;
    font-weight: 600 !important;
    transition: background 0.25s ease, color 0.25s ease !important;
}

.nav-cta:hover {
    background: var(--navy);
    color: var(--white) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Hero ── */
.hero {
    padding: clamp(5rem, 12vw, 9rem) 0 clamp(3rem, 8vw, 5rem);
    background: var(--cream);
}

.hero-inner {
    max-width: 820px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: var(--space-lg);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 4px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15, 38, 56, 0.18);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--navy);
}

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-ghost-light:hover {
    border-color: var(--white);
}

/* ── Video Section ── */
.video-section {
    padding: 0 0 var(--space-xl);
    background: var(--cream);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--navy);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(15, 38, 56, 0.12);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* ── Sections ── */
.section {
    padding: var(--space-xl) 0;
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark .section-label {
    color: var(--gold);
}

.section-dark h2 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.75);
}

.section-accent {
    background: var(--off-white);
    padding: var(--space-lg) 0;
}

.section-header {
    margin-bottom: var(--space-lg);
}

.section-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}

/* ── Text Blocks ── */
.text-block {
    max-width: 720px;
}

.text-block-narrow {
    max-width: 600px;
}

.text-block p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.text-large {
    font-size: 1.2rem !important;
    color: var(--text) !important;
    line-height: 1.7 !important;
}

/* ── Three Column ── */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.col-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.col-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Benefits Grid ── */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem var(--space-lg);
}

.benefit {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.benefit-number {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.benefit h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.benefit p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Use Cases ── */
.use-cases {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.use-case {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-md);
    align-items: baseline;
}

.use-case:first-child {
    border-top: 1px solid var(--border);
}

.use-case h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--navy);
}

.use-case p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Statement Block ── */
.statement-block {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.statement {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 400;
    line-height: 1.65;
    color: var(--navy);
    font-style: italic;
}

/* ── Contact ── */
.contact-block {
    max-width: 560px;
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-md);
}

.contact-email-link {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold) !important;
    margin-bottom: var(--space-lg);
    transition: opacity 0.25s ease;
}

.contact-email-link:hover {
    opacity: 0.75;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.5);
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

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

.footer-links a {
    color: rgba(255,255,255,0.5);
    transition: color 0.25s ease;
}

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

.footer-foerderung {
    text-align: center;
}

/* ── Scroll Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .three-col {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .use-case {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-cta {
        text-align: center;
        width: 100%;
    }

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

    .btn {
        text-align: center;
    }

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

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

@media (max-width: 480px) {
    :root {
        --space-xl: 4rem;
        --space-lg: 2.5rem;
    }
}
