/* ============================================
   neusued.de — Style System
   ============================================ */

/* --- Custom Properties --- */
:root {
    --bg: #09090b;
    --bg-elevated: #111113;
    --bg-card: #18181b;
    --surface: #1e1e22;
    --border: #27272a;
    --border-subtle: #1c1c1f;
    --text: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent: #E31937;
    --accent-hover: #ff2d4b;
    --accent-glow: rgba(227, 25, 55, 0.15);
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'PT Sans', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
    --container: 1320px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: thin;
    scrollbar-color: var(--border) var(--bg);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

ul, ol { list-style: none; }

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

/* --- Utilities --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.accent { color: var(--accent); }

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-inner {
    text-align: center;
    width: min(320px, 80vw);
}

.loader-text {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.loader-brand {
    font-family: var(--font-logo);
    font-size: 1.75rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.02em;
}

.loader-counter {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.loader-bar {
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* --- Custom Cursor --- */
.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor {
    width: 12px;
    height: 12px;
    background: #fff;
    transition: width 0.2s var(--ease), height 0.2s var(--ease);
}

.cursor-follower {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
}

.cursor.active { width: 18px; height: 18px; }
.cursor-follower.active { width: 68px; height: 68px; }

@media (pointer: coarse) {
    .cursor, .cursor-follower { display: none; }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 clamp(20px, 4vw, 60px);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}

.nav.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-logo);
    font-size: 1.75rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.02em;
    transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.7; }

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

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

.nav-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}
.nav-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.3s;
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }

.mobile-menu-link:hover { color: var(--accent); }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 0 60px;
    position: relative;
}

.hero-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    opacity: 0;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7.5vw, 6.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-line-inner {
    display: block;
    transform: translateY(110%);
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 48px;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 44px;
    font-size: 1.0625rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease);
}

.btn:hover svg { transform: translateX(4px); }

/* --- Marquee --- */
.marquee {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Section Label --- */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 48px;
}

.section-number {
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

/* --- About --- */
.about {
    padding: clamp(80px, 12vw, 160px) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.about-founder {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.about-founder-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.about-founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-founder-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-founder-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.about-founder-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- AI Banner --- */
.ai-banner {
    padding: 0 0 clamp(60px, 8vw, 100px);
}

.ai-banner-inner {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg));
    position: relative;
    overflow: hidden;
}

.ai-banner-inner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
}

.ai-banner-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--accent);
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
}

.ai-banner-icon svg {
    width: 100%;
    height: 100%;
}

.ai-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.ai-banner-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
}

@media (max-width: 768px) {
    .ai-banner-inner {
        flex-direction: column;
        gap: 16px;
    }
}

/* --- Services --- */
.services {
    padding: clamp(80px, 12vw, 160px) 0;
    background: var(--bg-elevated);
}

.services-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3vw, 44px);
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    position: relative;
}

.service-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    position: absolute;
    top: clamp(28px, 3vw, 44px);
    right: clamp(28px, 3vw, 44px);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

/* --- Work / Referenzen --- */
.work {
    padding: clamp(80px, 12vw, 160px) 0;
}

.work-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.work-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.work-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.work-card:hover {
    border-color: var(--border);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.work-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.work-card-name {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 1.8vw, 1.375rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.work-card-tags {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.work-card-tags span {
    font-size: 0.6875rem;
    color: var(--text-muted);
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 60px;
    white-space: nowrap;
}

.work-card-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

a.work-card:hover .work-card-name {
    color: var(--accent);
}

@media (max-width: 768px) {
    .work-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .work-card {
        padding: 20px;
    }
    .work-card-header {
        flex-direction: column;
        gap: 10px;
    }
    .work-card-tags {
        flex-wrap: wrap;
    }
}

/* --- CTA Section --- */
.cta {
    padding: clamp(80px, 12vw, 160px) 0 0;
    background: var(--bg-elevated);
    text-align: center;
    overflow: hidden;
}

.cta-content {
    margin-bottom: clamp(60px, 8vw, 100px);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-tags {
    padding: 28px 0;
    border-top: 1px solid var(--border-subtle);
    overflow: hidden;
}

.cta-tags-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.cta-tags-track span {
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 60px;
    font-size: 0.875rem;
    color: var(--text-muted);
    white-space: nowrap;
    transition: border-color 0.3s, color 0.3s;
}

.cta-tags-track span:hover {
    border-color: var(--accent);
    color: var(--text);
}

/* --- Contact --- */
.contact {
    padding: clamp(80px, 12vw, 160px) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.contact-link {
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-link:hover { color: var(--accent); }

.contact-address {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* --- Contact Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9375rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2371717a' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 32px;
    background: var(--bg);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 64px;
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 1.75rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 280px;
}

.footer-nav {
    display: flex;
    gap: clamp(32px, 5vw, 80px);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-credit { color: var(--text-muted); }

/* --- Legal Pages --- */
.legal {
    padding: calc(var(--nav-height) + 60px) 0 clamp(80px, 10vw, 120px);
    min-height: 100vh;
}

.legal-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 40px 0 16px;
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.legal-content p,
.legal-content li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-content ul li {
    list-style: disc;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 9000;
    transform: translateY(120%);
    transition: transform 0.5s var(--ease);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 18px;
    font-size: 0.8125rem;
    border-radius: 60px;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    .cookie-actions {
        justify-content: flex-end;
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

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

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        gap: 32px;
    }

    .stat-number { font-size: 2rem; }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-scroll { display: none; }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}
