@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@700&family=Plus+Jakarta+Sans:wght@400;500;600;800&display=swap');

:root {
    --bg: #ffffff;
    --surface: #fafafa;
    --accent: #d4ff00;
    --text: #0a0a0a;
    --text-invert: #ffffff;
    --sub: #6b6b6b;
    --border: rgba(0, 0, 0, 0.08);
    --card: #ffffff;
    --dark: #000000;
    --shadow-color: var(--accent);
}

[data-theme="dark"] {
    --bg: #0a0a0a;
    --surface: #131313;
    --text: #f5f5f5;
    --text-invert: #0a0a0a;
    --sub: #a0a0a0;
    --border: rgba(255, 255, 255, 0.1);
    --card: #131313;
    --dark: #f5f5f5;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

::selection { background: var(--accent); color: #000; }

@media (pointer: coarse), (max-width: 768px) {
    .glow-container { display: none; }
}

/* --- BACKGROUND GLOW --- */
.glow-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none; overflow: hidden;
}
.blob {
    position: absolute; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(212, 255, 0, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    top: 0; left: 0;
    margin: -400px 0 0 -400px;
}

/* --- NAV --- */
nav {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 20px 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    border-bottom: 1px solid var(--border);
}
.logo {
    font-family: 'Syncopate', sans-serif; font-weight: 700;
    font-size: 18px; letter-spacing: -1px; text-decoration: none; color: var(--text);
}
.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-links {
    display: flex; gap: 6px;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
}
.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text);
    padding: 10px 14px;
    overflow: hidden;
    display: inline-block;
    line-height: 1;
    height: 1em;
    box-sizing: content-box;
}
.nav-links a span {
    display: block;
    transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}
.nav-links a span::after {
    content: attr(data-text);
    display: block;
    position: absolute;
    left: 14px; right: 14px;
    top: 100%;
    color: var(--accent);
}
.nav-links a:hover span { transform: translateY(-100%); }
.nav-links a::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
    background: var(--text); color: var(--bg); text-decoration: none;
    padding: 12px 22px; font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    transition: 0.3s; border: 0;
}
.nav-cta:hover { background: var(--accent); color: #000; }

.theme-toggle {
    background: transparent; border: 1px solid var(--border); color: var(--text);
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.theme-toggle:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: inline; }

/* Mobile Burger */
.burger {
    display: none; width: 38px; height: 38px;
    background: transparent; border: 1px solid var(--border);
    border-radius: 50%; position: relative;
}
.burger span {
    position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text);
    transition: 0.3s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 18px; }
.burger span:nth-child(3) { top: 23px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --- HERO --- */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 120px 5% 60px;
}
.badge-main {
    background: var(--text); color: var(--bg);
    padding: 10px 20px; font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 30px; transform: rotate(-1deg);
}

h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 700; line-height: 0.85; letter-spacing: -4px;
    margin-bottom: 35px; text-transform: uppercase;
}
h1 span:not(.h1-line):not(.h1-word) { -webkit-text-stroke: 1.5px var(--text); color: transparent; }

.hero-sub {
    max-width: 650px; font-size: 19px; color: var(--sub);
    margin-bottom: 40px; line-height: 1.5; font-weight: 500;
}

.cta-group { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.btn {
    padding: 22px 45px; font-weight: 800; text-decoration: none;
    text-transform: uppercase; font-size: 14px; letter-spacing: 1px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 0; display: inline-block;
}
.btn-dark {
    background: var(--text); color: var(--bg);
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}
.btn-dark:hover { transform: scale(1.05) rotate(2deg); background: var(--accent); color: #000; }

.btn-ghost {
    background: transparent; color: var(--text);
    border: 2px solid var(--text);
}
.btn-ghost:hover { background: var(--text); color: var(--bg); }

/* --- MARQUEE --- */
.marquee {
    background: var(--accent); color: #000;
    padding: 18px 0; overflow: hidden; white-space: nowrap;
    font-family: 'Syncopate', sans-serif; font-size: 14px;
    transform: rotate(1deg) scaleX(1.05);
    margin: 50px 0 60px;
    border-top: 2px solid #000; border-bottom: 2px solid #000;
    position: relative; z-index: 3;
}
.marquee-content { display: inline-block; animation: scroll 25s linear infinite; padding-left: 100%; }
.marquee:hover .marquee-content { animation-play-state: paused; }
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* --- STATS BAR --- */
.stats-wrap { padding: 0 5%; position: relative; z-index: 2; }
.stats-bar {
    background: #000; color: #fff; padding: 80px 5%;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.stat-box h4 { font-family: 'Syncopate', sans-serif; font-size: clamp(36px, 5vw, 56px); color: var(--accent); }
.stat-box p { opacity: 0.6; text-transform: uppercase; font-size: 11px; letter-spacing: 2px; margin-top: 10px; }

/* --- SECTIONS --- */
section { padding: 120px 8%; }
.section-eyebrow {
    font-family: 'Syncopate', sans-serif;
    font-size: 11px; letter-spacing: 3px; color: var(--sub);
    text-transform: uppercase; margin-bottom: 20px;
}
.section-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(30px, 5vw, 60px);
    line-height: 0.9; margin-bottom: 60px;
}

/* --- FEATURES --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.feature-card {
    background: var(--card); padding: 60px;
    border: 1px solid var(--border);
    transition: 0.4s; position: relative;
}
.feature-card:hover {
    border-color: var(--text);
    box-shadow: 20px 20px 0 var(--accent);
    transform: translate(-10px, -10px);
}
.feature-card h3 { font-family: 'Syncopate', sans-serif; font-size: 22px; margin-bottom: 20px; }
.feature-card p { color: var(--sub); font-size: 16px; line-height: 1.6; }

/* --- PROCESS --- */
.process-section { background: var(--surface); }
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}
.process-step {
    padding: 50px 40px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.process-step::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--accent);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}
.process-step:hover::before { transform: translateY(0); }
.process-step:hover { color: #000; }
.process-step > * { position: relative; z-index: 1; }
.process-num {
    font-family: 'Syncopate', sans-serif;
    font-size: 13px; color: var(--sub);
    letter-spacing: 2px; margin-bottom: 30px;
}
.process-step:hover .process-num { color: #000; opacity: 0.6; }
.process-step h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 20px; margin-bottom: 15px;
}
.process-step p { color: var(--sub); font-size: 14px; line-height: 1.6; }
.process-step:hover p { color: #000; opacity: 0.8; }

/* --- CASE STUDIES --- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.case-card {
    border: 1px solid var(--border);
    padding: 40px;
    background: var(--card);
    text-decoration: none;
    color: var(--text);
    display: flex; flex-direction: column;
    min-height: 360px;
    transition: 0.4s;
    position: relative;
}
.case-card:hover {
    border-color: var(--text);
    box-shadow: 16px 16px 0 var(--accent);
    transform: translate(-8px, -8px);
}
.case-tag {
    display: inline-block;
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    background: var(--text); color: var(--bg);
    padding: 5px 10px;
    align-self: flex-start;
    margin-bottom: 30px;
}
.case-kpi {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 0.9;
    color: var(--text);
    margin-bottom: 10px;
}
.case-kpi span { color: var(--accent); -webkit-text-stroke: 1px var(--text); }
.case-kpi-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
    color: var(--sub); margin-bottom: auto;
}
.case-brand {
    font-family: 'Syncopate', sans-serif;
    font-size: 18px; margin-top: 40px;
}
.case-link {
    margin-top: 15px;
    font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    display: flex; align-items: center; gap: 8px;
}
.case-card:hover .case-link { color: var(--accent); }

/* --- CONTACT --- */
.contact-section { background: var(--text); color: var(--bg); }
.contact-section .section-title { color: var(--bg); }
.contact-section .section-eyebrow { color: var(--accent); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-claim {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(40px, 6vw, 80px);
    line-height: 0.9;
    margin-bottom: 40px;
}
.contact-claim span { color: var(--accent); }
.contact-info { font-size: 15px; line-height: 1.8; opacity: 0.8; }
.contact-info a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-info a:hover { text-decoration: underline; }
.contact-info strong {
    display: block; font-family: 'Syncopate', sans-serif;
    font-size: 11px; letter-spacing: 2px;
    margin-top: 25px; margin-bottom: 8px; opacity: 0.5;
}

.contact-form { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 2px; font-weight: 800; opacity: 0.6;
}
.field input,
.field textarea {
    background: transparent;
    border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bg);
    padding: 14px 0; font-size: 16px;
    font-family: inherit;
    transition: 0.3s;
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--accent); outline: 0; }
.field textarea { resize: vertical; min-height: 100px; }
.field-error {
    font-size: 12px; color: #ff6b6b; min-height: 16px;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Checkbox */
.checkbox {
    display: flex; align-items: flex-start;
    gap: 12px;
    font-size: 13px; line-height: 1.5;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
}
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox .box {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    transition: 0.2s;
    margin-top: 2px;
    display: inline-flex; align-items: center; justify-content: center;
}
.checkbox input:checked + .box {
    background: var(--accent); border-color: var(--accent);
}
.checkbox .box::after {
    content: '';
    width: 10px; height: 6px;
    border-left: 2px solid #000; border-bottom: 2px solid #000;
    transform: rotate(-45deg) scale(0); transform-origin: center;
    margin-top: -2px;
    transition: transform 0.2s;
}
.checkbox input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.checkbox input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 3px; }
.checkbox a { color: var(--accent); text-decoration: underline; }

/* Light surface variant for forms on white bg */
.checkbox.is-light { color: var(--sub); }
.checkbox.is-light .box { border-color: var(--border); }
.checkbox.is-light a { color: var(--text); text-decoration-color: var(--accent); }

/* File input */
.field-file {
    border: 1px dashed var(--border);
    padding: 16px;
    cursor: pointer;
    display: flex; gap: 14px; align-items: center;
    transition: 0.3s;
}
.field-file:hover, .field-file.is-drag { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.field-file input[type="file"] { display: none; }
.field-file .file-icon {
    width: 36px; height: 36px;
    background: var(--text); color: var(--bg);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Syncopate', sans-serif; font-size: 12px;
    flex-shrink: 0;
}
.field-file .file-meta { flex: 1; min-width: 0; }
.field-file .file-name { font-weight: 800; font-size: 14px; word-break: break-all; }
.field-file .file-hint { font-size: 12px; color: var(--sub); margin-top: 2px; }

.form-status {
    padding: 16px; font-size: 14px; font-weight: 600;
    border: 1px solid; display: none;
}
.form-status.is-success { display: block; border-color: var(--accent); color: var(--accent); }
.form-status.is-error { display: block; border-color: #ff6b6b; color: #ff6b6b; }

.btn-submit {
    background: var(--accent); color: #000;
    padding: 22px 45px; border: 0;
    font-family: inherit; font-weight: 800;
    text-transform: uppercase; font-size: 14px; letter-spacing: 1px;
    transition: 0.3s; align-self: start;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}
.btn-submit:hover:not(:disabled) { transform: scale(1.05) rotate(-2deg); background: var(--bg); color: var(--text); }
.btn-submit:disabled { opacity: 0.5; }

/* --- FOOTER --- */
footer { padding: 100px 8% 40px; background: #000; color: #fff; position: relative; overflow: hidden; }
.footer-wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 80px; position: relative; z-index: 1; }
.f-logo { font-family: 'Syncopate', sans-serif; font-size: 24px; color: var(--accent); }
.f-links h5 {
    font-family: 'Syncopate', sans-serif; font-size: 12px;
    letter-spacing: 2px; margin-bottom: 20px; opacity: 0.6;
}
.f-links ul { list-style: none; }
.f-links li { margin-bottom: 10px; }
.f-links a { text-decoration: none; color: #fff; opacity: 0.5; font-size: 14px; transition: 0.3s; }
.f-links a:hover { opacity: 1; color: var(--accent); }
.huge-text {
    font-family: 'Syncopate', sans-serif;
    font-size: 22vw; opacity: 0.05;
    position: absolute; bottom: -2vw; left: 5%;
    pointer-events: none; line-height: 1; letter-spacing: -10px;
}
.footer-bottom {
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px; position: relative; z-index: 1;
    font-size: 11px; opacity: 0.4;
    text-transform: uppercase; letter-spacing: 2px;
}

.reveal { visibility: hidden; }

/* --- STICKY SECTION LAYOUT --- */
.section-sticky {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 2fr;
    gap: 80px;
    align-items: start;
}
.section-sticky-side {
    position: sticky;
    top: 110px;
    align-self: start;
}
.section-sticky-side .section-title { margin-bottom: 0; }
.section-sticky-side .section-eyebrow { margin-bottom: 16px; }
.section-sticky-content { min-width: 0; }

/* Founder column sticky */
.founder-grid .founder-photo {
    position: sticky;
    top: 110px;
}

@media (max-width: 900px) {
    .section-sticky { grid-template-columns: 1fr; gap: 30px; }
    .section-sticky-side { position: static; }
    .section-sticky-side .section-title { margin-bottom: 30px; }
    .founder-grid .founder-photo { position: static; }
}

/* --- HERO WORD REVEAL --- */
.h1-line { display: block; overflow: hidden; }
.h1-word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    animation: word-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.h1-word:nth-child(1) { animation-delay: 0.05s; }
.h1-word:nth-child(2) { animation-delay: 0.15s; }
.h1-word:nth-child(3) { animation-delay: 0.25s; }
.h1-word:nth-child(4) { animation-delay: 0.35s; }
@keyframes word-rise {
    to { transform: translateY(0); opacity: 1; }
}

/* --- CASE DETAIL PAGE --- */
.case-hero {
    padding: 180px 8% 80px;
    border-bottom: 1px solid var(--border);
}
.case-back {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none; color: var(--sub);
    font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 50px;
    transition: 0.3s;
}
.case-back:hover { color: var(--text); gap: 14px; }
.case-meta {
    display: flex; flex-wrap: wrap; gap: 20px;
    font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
    color: var(--sub); margin-bottom: 30px;
}
.case-meta span { display: inline-flex; align-items: center; gap: 8px; }
.case-meta strong { color: var(--text); font-weight: 800; }
.case-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(40px, 8vw, 110px);
    line-height: 0.85; letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.case-title span:not(.h1-line):not(.h1-word) { -webkit-text-stroke: 1.5px var(--text); color: transparent; }
.case-lead {
    max-width: 720px; font-size: 20px; line-height: 1.5;
    color: var(--sub); font-weight: 500;
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.kpi-cell {
    padding: 50px 30px;
    border-right: 1px solid var(--border);
}
.kpi-cell:last-child { border-right: 0; }
.kpi-cell .num {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1;
    color: var(--text);
    margin-bottom: 12px;
}
.kpi-cell .num em { font-style: normal; color: var(--accent); -webkit-text-stroke: 1px var(--text); }
.kpi-cell .label {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 2px; color: var(--sub);
}

.story {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding: 120px 8%;
    border-bottom: 1px solid var(--border);
}
.story:nth-child(even) { background: var(--surface); }
.story-label {
    font-family: 'Syncopate', sans-serif;
    font-size: 14px; letter-spacing: 2px;
    color: var(--accent);
    position: sticky; top: 100px; align-self: start;
}
.story-body h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1; margin-bottom: 30px;
    text-transform: uppercase;
}
.story-body p {
    font-size: 17px; line-height: 1.7;
    color: var(--text); margin-bottom: 20px;
}
.story-body ul {
    list-style: none; margin: 30px 0;
    border-top: 1px solid var(--border);
}
.story-body li {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    display: flex; gap: 20px;
    font-size: 15px;
}
.story-body li::before {
    content: '→'; color: var(--accent); font-weight: 800; flex-shrink: 0;
}

.case-cta {
    padding: 120px 8%;
    text-align: center;
}
.case-cta h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 0.9; letter-spacing: -2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.case-cta h2 span { color: var(--accent); -webkit-text-stroke: 1px var(--text); }
.case-cta p { color: var(--sub); margin-bottom: 40px; font-size: 18px; }

.next-case {
    display: block; text-decoration: none; color: var(--text);
    padding: 80px 8%;
    background: var(--text); color: var(--bg);
    transition: 0.4s;
    border-top: 1px solid var(--border);
}
.next-case:hover { background: var(--accent); color: #000; }
.next-case .label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
    opacity: 0.6; margin-bottom: 15px;
}
.next-case .title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1; text-transform: uppercase;
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px;
}
.next-case .arrow { transition: 0.3s; }
.next-case:hover .arrow { transform: translateX(20px); }

@media (max-width: 768px) {
    .story { grid-template-columns: 1fr; gap: 30px; padding: 70px 5%; }
    .story-label { position: static; }
    .case-hero { padding: 130px 5% 60px; }
    .kpi-cell { border-right: 0; border-bottom: 1px solid var(--border); }
    .kpi-cell:last-child { border-bottom: 0; }
}

/* --- BRANCHEN GRID --- */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}
.sector {
    padding: 40px 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.sector::after {
    content: '';
    position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
    background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.7,0,0.2,1);
}
.sector:hover::after { transform: scaleX(1); }
.sector:hover { background: var(--surface); }
.sector .num {
    font-family: 'Syncopate', sans-serif;
    font-size: 11px; letter-spacing: 2px;
    color: var(--sub); margin-bottom: 18px;
    display: block;
}
.sector h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.sector p {
    font-size: 14px; line-height: 1.55;
    color: var(--sub);
}

/* --- COMPARISON --- */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.compare-col {
    padding: 50px;
    border: 1px solid var(--border);
    background: var(--card);
    transition: 0.4s;
    position: relative;
}
.compare-col h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 22px; letter-spacing: -0.5px;
    margin-bottom: 30px;
    text-transform: uppercase;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.compare-col ul { list-style: none; }
.compare-col li {
    padding: 14px 0 14px 30px;
    font-size: 15px; line-height: 1.5;
    position: relative;
}

.compare-col.them {
    background: var(--surface);
    color: var(--sub);
    transform: rotate(-0.5deg);
}
.compare-col.them h3 {
    color: var(--sub);
    text-decoration: line-through;
    text-decoration-color: var(--border);
    text-decoration-thickness: 2px;
}
.compare-col.them li {
    text-decoration: line-through;
    text-decoration-color: var(--border);
    text-decoration-thickness: 1px;
}
.compare-col.them li::before {
    content: '\2715';
    position: absolute; left: 0;
    color: var(--sub); font-weight: 800;
    text-decoration: none;
}

.compare-col.us {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
    transform: rotate(0.5deg);
    box-shadow: 16px 16px 0 var(--accent);
}
.compare-col.us h3 {
    color: var(--accent);
    border-bottom-color: rgba(255,255,255,0.15);
}
.compare-col.us li::before {
    content: '\2192';
    position: absolute; left: 0;
    color: var(--accent); font-weight: 800;
}
.compare-col.us li { font-weight: 500; }

/* --- FOUNDER NOTE --- */
.founder-section {
    padding: 120px 8%;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.founder-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
}
.founder-photo {
    aspect-ratio: 4 / 5;
    max-width: 420px;
    background: var(--text);
    color: var(--bg);
    position: relative;
    overflow: hidden;
    border: 1px dashed rgba(255,255,255,0.15);
}
.founder-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 90%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%);
    pointer-events: none;
}
.founder-photo .placeholder {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}
.founder-photo .placeholder .mono {
    font-family: 'Syncopate', sans-serif;
    font-size: 64px;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 14px;
}
.founder-photo .placeholder .label {
    font-family: 'Syncopate', sans-serif;
    font-size: 10px; letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.founder-photo .badge {
    position: absolute;
    top: 24px; left: 24px;
    background: var(--accent); color: #000;
    padding: 6px 10px;
    font-size: 9px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    transform: rotate(-2deg);
    z-index: 2;
}
.founder-content .quote {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.15;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    max-width: 620px;
}
.founder-content .quote span { color: var(--accent); -webkit-text-stroke: 1px var(--text); }
.founder-content p {
    font-size: 17px; line-height: 1.6;
    margin-bottom: 18px;
    max-width: 620px;
}
.founder-sign {
    display: flex; align-items: center; gap: 16px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.founder-sign .name {
    font-family: 'Syncopate', sans-serif;
    font-size: 14px; letter-spacing: 1px;
    text-transform: uppercase;
}
.founder-sign .role {
    font-size: 12px; color: var(--sub);
    text-transform: uppercase; letter-spacing: 2px;
}

@media (max-width: 768px) {
    .founder-section { padding: 70px 5%; }
    .founder-grid { grid-template-columns: 1fr; gap: 40px; }
    .founder-photo { aspect-ratio: 3 / 4; max-width: 320px; }
    .compare-grid { grid-template-columns: 1fr; }
    .compare-col.them { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .sector { padding: 30px 20px; }
}

/* --- LOGO WALL --- */
.logo-wall {
    background: var(--surface);
    padding: 60px 5%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.logo-wall .label {
    text-align: center;
    font-family: 'Syncopate', sans-serif;
    font-size: 11px; letter-spacing: 3px;
    color: var(--sub); margin-bottom: 30px;
    text-transform: uppercase;
}
.logo-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    align-items: center;
}
.logo-row span {
    font-family: 'Syncopate', sans-serif;
    font-size: 18px; letter-spacing: -1px;
    text-align: center;
    color: var(--text);
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
    padding: 12px;
    border: 1px dashed var(--border);
}
.logo-row span:hover { opacity: 1; transform: scale(1.05); border-color: var(--text); }

/* --- FAQ --- */
.faq-section { background: var(--surface); }
.faq-list {
    max-width: 900px;
    border-top: 1px solid var(--border);
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    background: transparent; border: 0;
    text-align: left;
    padding: 30px 0;
    font-family: inherit; font-weight: 800;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text);
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px;
}
.faq-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Syncopate', sans-serif;
    font-size: 18px; line-height: 1;
    transition: 0.3s;
}
.faq-item.is-open .faq-icon {
    background: var(--accent); border-color: var(--accent); color: #000;
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
    padding: 0 0 30px;
    color: var(--sub);
    font-size: 16px; line-height: 1.7;
    max-width: 720px;
}

/* --- LEGAL PAGES --- */
.legal {
    padding: 160px 5% 100px;
    max-width: 860px;
    margin: 0 auto;
    font-size: 16px; line-height: 1.7;
    color: var(--text);
}
.legal h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(26px, 3.4vw, 44px);
    letter-spacing: -0.5px;
    line-height: 1.05;
    margin-bottom: 50px;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.legal h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 18px; letter-spacing: 1px;
    margin: 60px 0 20px;
    text-transform: uppercase;
}
.legal h3 {
    font-size: 16px; font-weight: 800;
    margin: 30px 0 10px;
}
.legal p, .legal ul { margin-bottom: 16px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.legal a:hover { color: var(--accent); }
.legal .todo {
    background: var(--accent); color: #000;
    padding: 2px 8px; font-weight: 800;
    font-size: 12px; letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- KARRIERE --- */
.career-hero {
    padding: 180px 8% 60px;
    border-bottom: 1px solid var(--border);
}
.career-hero h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(40px, 8vw, 110px);
    line-height: 0.85; letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.career-hero h1 span:not(.h1-line):not(.h1-word) {
    -webkit-text-stroke: 1.5px var(--text); color: transparent;
}
.career-hero p {
    max-width: 720px; font-size: 20px; line-height: 1.5;
    color: var(--sub); font-weight: 500;
}

.values {
    padding: 120px 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    border-bottom: 1px solid var(--border);
}
.value h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 16px; letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.value h3::before {
    content: ''; display: inline-block;
    width: 8px; height: 8px;
    background: var(--accent);
    margin-right: 10px;
    transform: translateY(-3px);
}
.value p { color: var(--sub); font-size: 15px; line-height: 1.7; }

.jobs-section { padding: 120px 8%; background: var(--surface); }
.jobs-list { border-top: 1px solid var(--text); }
.job-item { border-bottom: 1px solid var(--border); position: relative; }
.job-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s;
}
.job-item.is-open::before,
.job-item:hover::before { transform: scaleY(1); }

.job-row {
    width: 100%;
    background: transparent; border: 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 30px 20px 30px 14px;
    text-align: left;
    color: var(--text);
    font-family: inherit;
    cursor: pointer;
    transition: padding 0.3s, background 0.3s;
}
.job-row:hover { padding-left: 30px; background: var(--bg); }
.job-item.is-open .job-row { background: var(--bg); padding-left: 30px; }

.job-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    text-transform: uppercase;
    font-weight: 700;
}
.job-meta {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 2px; color: var(--sub);
}
.job-toggle {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Syncopate', sans-serif;
    font-size: 18px; line-height: 1;
    transition: 0.3s;
}
.job-item.is-open .job-toggle {
    background: var(--accent); border-color: var(--accent); color: #000;
    transform: rotate(45deg);
}

.job-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg);
}
.job-panel-inner {
    padding: 0 30px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.job-panel h4 {
    font-family: 'Syncopate', sans-serif;
    font-size: 11px; letter-spacing: 2px;
    color: var(--sub);
    margin-bottom: 14px;
    text-transform: uppercase;
}
.job-panel p {
    font-size: 16px; line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text);
}
.job-panel ul {
    list-style: none;
    margin-bottom: 24px;
}
.job-panel li {
    padding: 8px 0 8px 22px;
    position: relative;
    font-size: 14px; line-height: 1.5;
    color: var(--text);
}
.job-panel li::before {
    content: '→';
    position: absolute; left: 0;
    color: var(--accent); font-weight: 800;
}
.job-apply-cta {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 6px;
}
.job-apply-cta .note { font-size: 13px; color: var(--sub); flex: 1; min-width: 200px; }
.job-apply-cta .btn {
    padding: 16px 32px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .career-hero { padding: 130px 5% 50px; }
    .values, .jobs-section { padding: 70px 5%; }
    .job-row {
        grid-template-columns: 1fr auto;
        gap: 8px;
        padding: 24px 14px;
    }
    .job-row .job-meta:nth-of-type(1),
    .job-row .job-meta:nth-of-type(2) { display: none; }
    .job-row:hover, .job-item.is-open .job-row { padding-left: 24px; }
    .job-panel-inner { grid-template-columns: 1fr; gap: 0; padding: 0 20px 30px; }
}

/* --- 404 --- */
.notfound {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 5% 60px;
}
.notfound .code {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(120px, 25vw, 280px);
    line-height: 0.9; letter-spacing: -10px;
    color: transparent;
    -webkit-text-stroke: 2px var(--text);
    margin-bottom: 30px;
}
.notfound h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.notfound p {
    color: var(--sub);
    max-width: 480px; font-size: 17px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    left: 20px; right: 20px; bottom: 20px;
    z-index: 2000;
    background: var(--text); color: var(--bg);
    padding: 22px 28px;
    display: flex; gap: 24px; align-items: center;
    flex-wrap: wrap;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 720px;
    margin: 0 auto;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p {
    flex: 1; min-width: 240px;
    font-size: 13px; line-height: 1.5;
}
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner button {
    border: 0; background: var(--accent); color: #000;
    padding: 14px 22px;
    font-family: inherit; font-weight: 800;
    font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
    transition: 0.2s;
}
.cookie-banner button:hover { background: var(--bg); color: var(--text); }
.cookie-banner button.ghost { background: transparent; color: var(--bg); border: 1px solid rgba(255,255,255,0.3); }
.cookie-banner button.ghost:hover { background: var(--bg); color: var(--text); border-color: var(--bg); }

@media (max-width: 600px) {
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
    .cookie-banner button { flex: 1; }
}

/* --- MOBILE --- */
@media (max-width: 900px) {
    .footer-wrap { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    nav { padding: 16px 5%; }
    .nav-links, .nav-cta { display: none; }
    .burger { display: inline-block; }

    body.menu-open { overflow: hidden; }
    body.menu-open .nav-links {
        display: flex; flex-direction: column;
        position: fixed; inset: 70px 0 0 0;
        background: var(--bg);
        padding: 40px 5%; gap: 0;
        font-size: 24px;
    }
    body.menu-open .nav-links a {
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
        height: auto;
        overflow: visible;
    }
    body.menu-open .nav-links a span::after,
    body.menu-open .nav-links a::after { display: none; }
    body.menu-open .nav-links a:hover span { transform: none; }
    body.menu-open .nav-cta {
        display: inline-block;
        position: fixed; left: 5%; right: 5%; bottom: 30px;
        text-align: center; font-size: 14px; padding: 18px;
    }

    section { padding: 80px 5%; }
    h1 { font-size: 48px; letter-spacing: -2px; }
    .hero-sub { font-size: 16px; }
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 40px 5%; gap: 30px; }
    .stat-box:last-child { grid-column: span 2; }
    .feature-card, .case-card { padding: 35px; }
    .feature-card:hover, .case-card:hover { transform: none; box-shadow: 8px 8px 0 var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-content { animation: none; }
    .reveal { visibility: visible !important; }
}
