/* ============================================
   OperativeX — Corporate site (index, unternehmen, impressum)
   ============================================ */

:root {
    --ink: #0b0b0c;
    --text: #46464b;
    --muted: #8a8a90;
    --line: #ececec;
    --bg: #ffffff;
    --bg-soft: #f7f7f6;
    --max: 1080px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

a {
    color: inherit;
}

/* ---------- Sticky top bar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
                backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.topbar.scrolled {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.brand {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.2s var(--ease);
}

.nav a:hover,
.nav a.active {
    color: var(--ink);
}

.lang-switch {
    display: flex;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.6);
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.lang-btn:hover {
    color: var(--ink);
}

.lang-btn.active {
    background: var(--ink);
    color: #fff;
}

/* ---------- Hero ---------- */
.hero {
    padding: 120px 0 96px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(1200px 600px at 70% -10%, #f3f4f6 0%, rgba(243, 244, 246, 0) 60%),
        var(--bg);
}

.eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 26px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--ink);
    max-width: 16ch;
    margin-bottom: 26px;
}

.hero .lead {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--text);
    max-width: 60ch;
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 999px;
    transition: all 0.25s var(--ease);
}

.btn-primary {
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

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

/* ---------- Generic section ---------- */
.section {
    padding: 96px 0;
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 60ch;
    margin-bottom: 56px;
}

.section-head .eyebrow {
    margin-bottom: 18px;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 18px;
}

.section-head p {
    font-size: 1.08rem;
    color: var(--text);
}

/* ---------- Principles grid ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.principle .num {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 14px;
}

.principle h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 10px;
}

.principle p {
    font-size: 1rem;
    color: var(--text);
}

/* ---------- Ventures CTA band ---------- */
.cta-band {
    padding: 100px 0;
}

.cta-band .inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--ink);
    max-width: 18ch;
}

.cta-band p {
    margin-top: 16px;
    color: var(--text);
    max-width: 46ch;
}

.portfolio-names {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 26px;
}

.portfolio-names span {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 16px;
}

/* ---------- Companies page ---------- */
.page-head {
    padding: 120px 0 64px;
    border-bottom: 1px solid var(--line);
}

.page-head h1 {
    font-size: clamp(2.1rem, 4.4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
}

.page-head p {
    font-size: 1.15rem;
    color: var(--text);
    max-width: 64ch;
}

.company {
    padding: 80px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 96px;
}

.company-name {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 6px;
}

.company-tagline {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 30px;
}

.company h3 {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin: 30px 0 10px;
}

.company p {
    color: var(--text);
    margin-bottom: 14px;
    max-width: 72ch;
}

.company ul {
    margin: 0 0 14px 1.1em;
    max-width: 72ch;
}

.company li {
    margin-bottom: 8px;
    color: var(--text);
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: border-color 0.2s var(--ease);
}

.inline-link:hover {
    border-bottom-color: var(--ink);
}

/* ---------- Impressum / legal page ---------- */
.legal-wrap {
    padding: 110px 0 80px;
    max-width: 760px;
}

.legal-wrap h1 {
    font-size: clamp(2rem, 4vw, 2.7rem);
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
}

.legal-wrap .legal-sub {
    color: var(--muted);
    margin-bottom: 56px;
}

.legal-block {
    padding: 32px 0;
    border-top: 1px solid var(--line);
}

.legal-block h2 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 18px;
}

.legal-block p {
    color: var(--text);
    margin-bottom: 12px;
}

.legal-block .row {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.legal-block .row dt {
    flex: 0 0 180px;
    color: var(--ink);
    font-weight: 600;
}

.legal-block .row dd {
    color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: #c9c9cf;
    padding: 72px 0 36px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand {
    color: #fff;
    font-size: 20px;
}

.footer-brand p {
    margin-top: 14px;
    font-size: 14.5px;
    color: #9a9aa2;
    max-width: 34ch;
}

.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #7d7d85;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 14.5px;
    color: #c9c9cf;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s var(--ease);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    font-size: 13px;
    color: #7d7d85;
}

.footer-bottom .legal-line {
    color: #7d7d85;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 92px 0 72px;
    }

    .section,
    .cta-band {
        padding: 64px 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .legal-block .row {
        flex-direction: column;
        gap: 2px;
    }

    .legal-block .row dt {
        flex-basis: auto;
    }
}
