/* ============================================
   meusel.group – Apple-style Minimal Design
   ============================================ */

/* Inter – self-hosted (latin + latin-ext) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/inter-v20-latin_latin-ext-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-v20-latin_latin-ext-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-v20-latin_latin-ext-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-v20-latin_latin-ext-700.woff2') format('woff2');
}

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #262626;
    --bg-card: #2a2a2a;
    --bg-card-hover: #333333;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;
    --accent: #d4952a;
    --accent-hover: #e8a93e;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1120px;
    --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

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

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

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color var(--transition);
}

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

.nav-cta {
    background: var(--accent);
    color: var(--bg-primary) !important;
    padding: 8px 20px;
    border-radius: 980px;
    font-weight: 500;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    color: var(--bg-primary) !important;
    transform: scale(1.02);
}

/* 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: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--bg-primary);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

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

.hero-logo {
    width: 220px;
    height: auto;
    margin-bottom: 40px;
    opacity: 0.85;
    transition: opacity var(--transition);
}

.hero-logo:hover {
    opacity: 1;
}

.hero-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(17px, 2.2vw, 21px);
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 640px;
    margin: 0 auto 32px;
    font-weight: 400;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-tags span {
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 980px;
    letter-spacing: 0.02em;
}

/* Button */
.btn {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--bg-primary);
    transform: scale(1.03);
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: 120px 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 56px;
    color: var(--text-primary);
}

/* Intro */
.section-intro {
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.intro-text {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    color: var(--text-secondary);
    font-style: italic;
    letter-spacing: -0.01em;
}

/* ============================================
   Services Grid
   ============================================ */

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.service-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Expertise Grid
   ============================================ */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
}

.expertise-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.expertise-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   KI Section
   ============================================ */

.ki-section {
    max-width: 720px;
}

.ki-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
}

.ki-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 980px;
}

.ki-badge a {
    font-weight: 600;
}

/* ============================================
   Process
   ============================================ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    text-align: left;
}

.process-icon {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 300;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Contact
   ============================================ */

.section-contact {
    text-align: center;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.contact-text {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: -24px auto 48px;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition);
    text-decoration: none;
}

a.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.contact-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

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

.footer-logo {
    width: 140px;
    height: auto;
    margin-bottom: 12px;
    opacity: 0.6;
}

.footer-left p {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition);
}

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

/* ============================================
   Scroll Animations
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .services-grid {
        gap: 16px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child a {
        border-bottom: none;
        text-align: center;
        margin-top: 8px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 140px 24px 80px;
    }

    .hero-logo {
        width: 180px;
        margin-bottom: 32px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .services-grid,
    .expertise-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card {
        padding: 28px;
    }

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

@media (max-width: 480px) {
    .hero-tags {
        gap: 8px;
    }

    .hero-tags span {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ============================================
   Legal Pages
   ============================================ */

.legal-page {
    padding: 120px 24px 80px;
    max-width: 720px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.legal-page h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-page p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--accent);
}

.legal-page ul {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.legal-page li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* Legal pages responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 20px 60px;
    }

    .legal-page h1 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .legal-page h2 {
        font-size: 19px;
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 90px 16px 48px;
    }

    .hero-label {
        font-size: 13px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
        padding: 12px 28px;
        width: 100%;
        text-align: center;
    }

    .contact-card {
        padding: 24px 20px;
    }

    .contact-value {
        font-size: 14px;
        word-break: break-word;
    }

    .ki-badge {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        font-size: 13px;
    }

    .section-intro {
        padding: 48px 0;
    }
}

/* ============================================
   Cookie Info Banner
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.cookie-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.cookie-banner-text a:hover {
    color: var(--accent-hover);
}

.cookie-banner-btn {
    flex-shrink: 0;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    padding: 10px 24px;
    border-radius: 980px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.cookie-banner-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.03);
}

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