/* ============================================
   DOKUMENTATION TECH â€“ v2
   dokumentation.tech
   ============================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
    --navy: #0F172A;
    --navy-light: #1E293B;
    --navy-mid: #334155;
    --blue: #3B82F6;
    --cyan: #06B6D4;
    --gradient: linear-gradient(135deg, #3B82F6, #06B6D4);
    --slate: #64748B;
    --light: #F1F5F9;
    --lighter: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --text: #1E293B;
    --text-soft: #475569;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-w: 1200px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--lighter);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- SCROLL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

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

.nav-logo { height: 30px; width: auto; transition: var(--transition); }
.nav-logo-dark { display: none; }
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-brand-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    background: #0F172A; /* Navy Dunkel */
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform var(--transition);
}

.nav.scrolled .nav-brand-icon {
    background: #0F172A; /* Behält den dunklen Hintergrund auch auf weißem Header */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.nav-brand:hover .nav-brand-icon {
    transform: translateY(-1px);
}
.nav-brand-text {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: white;
    transition: color var(--transition);
}
.nav-brand-text .tech { color: #22D3EE; }
.nav.scrolled .nav-brand-text { color: var(--navy); }
.nav.scrolled .nav-brand-text .tech { color: #0891B2; }
.nav-brand-tagline {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.1px;
    margin-top: 1px;
    transition: color var(--transition);
}
.nav.scrolled .nav-brand-tagline { color: #94A3B8; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition);
}

.nav.scrolled .nav-links a { color: var(--text-soft); }
.nav-links a:hover { color: white; background: rgba(255, 255, 255, 0.1); }
.nav.scrolled .nav-links a:hover { color: var(--navy); background: var(--light); }

.nav-cta {
    background: var(--gradient) !important;
    color: white !important;
    padding: 9px 22px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    padding: 4px 8px !important;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.lang-switch svg { opacity: 0.7; transition: all 0.3s ease; }
.nav.scrolled .lang-switch { color: var(--text-soft) !important; }
.lang-switch:hover { color: var(--blue) !important; }
.lang-switch:hover svg { opacity: 1; transform: scale(1.1); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--navy); }

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    overflow: hidden;
    padding: 140px 24px 100px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
}

.hero-grid,
.section-grid,
.section-tech-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid,
.section-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.section-tech-bg {
    background-image: url('translation-management.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    mix-blend-mode: luminosity;
}

.section-tech-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

.section-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

.hero-content,
.section-inner {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: var(--max-w);
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Linke Spalte etwas breiter, schiebt Rechte nach links */
    gap: 20px; /* Weniger Abstand zwischen Text und Karten */
    align-items: center;
}

.hero-left {
    text-align: left;
    margin-top: -60px; /* Block noch ein Stück höher */
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: -80px; /* Das ganze Paket noch ein kleines Stück weiter nach links rücken */
}

/* Machine background images */
.hero-machine {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.06; /* Wieder dezent eingestellt */
    filter: invert(1) brightness(2.5); /* Macht schwarze Zeichnungen weiß */
    transition: opacity 0.5s ease;
}
.hero-machine-1 {
    left: -2%;
    bottom: -2%; /* Weiter unten platziert */
    width: 32%; /* Kompakter */
    opacity: 0.04; /* Sehr dezent */
}
.hero-machine-2 {
    right: -6%; /* Etwas weiter rechts raus */
    top: 5%; /* Etwas höher platziert */
    width: 30%; /* Kleiner als links */
    opacity: 0.04; /* Ebenfalls sehr dezent */
}

.hero-live-cta {
    margin-top: -30px; /* Button direkt an die untere Kante der Karten heranrücken */
    text-align: center;
    position: relative;
    z-index: 20;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--cyan);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 8px; /* Kleinerer Abstand zum Gradient-Satz */
    letter-spacing: -0.02em;
    width: max-content;
    max-width: 160%;
    position: relative;
    z-index: 15;
}

.hero-title-gradient {
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    max-width: 520px; /* Gleiche Breite wie .hero-sub */
}

.hero h1 span.block {
    display: block;
    white-space: nowrap;
}

.hero h1 .gradient-text,
.hero-title-gradient.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.12rem;
    color: #94A3B8;
    max-width: 520px;
    margin: 0 0 36px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3); }

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

.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* --- SCROLL HINT --- */
.scroll-hint {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.2px;
    transition: all var(--transition);
    z-index: 10;
}

.scroll-hint:hover {
    color: var(--cyan);
}

.scroll-hint svg {
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* --- HERO DOCUMENT PREVIEW CARDS --- */
.hero-docs-preview {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 450px; /* Mehr Platz nach unten für das Absenken */
    margin: 40px auto 0;
}

.hdoc {
    position: absolute;
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    left: 50%;
}

.hdoc-left {
    width: 170px;
    height: 240px;
    top: 210px; /* So gesetzt, dass untere Kante auf 450px liegt */
    transform: translateX(-150%) rotate(-6deg); /* Gleichmäßig nach links gespreizt */
    z-index: 5;
    animation: float-left 5s ease-in-out infinite;
    animation-delay: -1.5s;
}
.hdoc-center {
    width: 200px;
    height: 280px;
    top: 170px; /* So gesetzt, dass untere Kante auf 450px liegt */
    transform: translateX(-50%); /* Exakt mittig über dem Button */
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    animation: float-center 5s ease-in-out infinite;
    animation-delay: -0.5s;
}
.hdoc-right {
    width: 170px;
    height: 240px;
    top: 210px; /* So gesetzt, dass untere Kante auf 450px liegt */
    transform: translateX(50%) rotate(6deg); /* Gleichmäßig nach rechts gespreizt */
    z-index: 5;
    animation: float-right 5s ease-in-out infinite;
    animation-delay: -2.5s;
}

@keyframes float-left {
    0%, 100% { transform: translateX(-150%) rotate(-6deg) translateY(0); }
    50%       { transform: translateX(-150%) rotate(-6deg) translateY(-8px); }
}
@keyframes float-center {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-12px); }
}
@keyframes float-right {
    0%, 100% { transform: translateX(50%) rotate(6deg) translateY(0); }
    50%       { transform: translateX(50%) rotate(6deg) translateY(-8px); }
}

/* Mini doc internals */
.hdoc-topbar {
    height: 5px;
    background: linear-gradient(90deg, #3B82F6, #06B6D4);
}
.hdoc-inner { padding: 12px 14px; }

.hdoc-chapnum {
    font-size: 5.5px;
    font-weight: 700;
    color: #3B82F6;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}
.hdoc-heading {
    font-size: 9.5px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-bottom: 1px solid #E2E8F0;
    line-height: 1.2;
}
.hdoc-line {
    height: 3px;
    background: #E2E8F0;
    border-radius: 2px;
    margin-bottom: 4px;
}
.hdoc-line.w100 { width: 100%; }
.hdoc-line.w90  { width: 90%;  }
.hdoc-line.w75  { width: 75%;  }
.hdoc-line.w60  { width: 60%;  }
.hdoc-line.w50  { width: 50%;  }
.hdoc-line.w40  { width: 40%;  }

.hdoc-toc-row {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 5.5px;
}
.hdoc-toc-num   { font-size: 6px; font-weight: 700; color: #3B82F6; min-width: 9px; }
.hdoc-toc-title { font-size: 6.5px; font-weight: 600; color: #1E293B; flex: 0 0 auto; }
.hdoc-toc-dots  {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, #CBD5E1 0, #CBD5E1 2px, transparent 2px, transparent 5px);
    margin: 0 3px;
}
.hdoc-toc-pg { font-size: 6px; color: #64748B; font-weight: 600; }

/* Cover doc */
.hdoc-company   { font-size: 5.5px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 3px; }
.hdoc-doctype   { font-size: 6px; font-weight: 700; color: #3B82F6; text-transform: uppercase; letter-spacing: 0.5px; margin: 3px 0; }
.hdoc-product-name { font-size: 12.5px; font-weight: 800; color: #0F172A; line-height: 1.2; margin-bottom: 1px; }
.hdoc-product-sub  { font-size: 6px; color: #64748B; margin-bottom: 8px; }
.hdoc-machine-area {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    margin-bottom: 8px;
}
.hdoc-meta { font-size: 5.5px; color: #94A3B8; border-top: 1px solid #F1F5F9; padding-top: 6px; line-height: 1.7; }
.hdoc-meta strong { color: #475569; }

/* Mini ISO box */
.hdoc-iso-mini {
    display: flex;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #FED7AA;
    margin: 5px 0;
}
.hdoc-iso-mini-left {
    width: 20px;
    flex-shrink: 0;
    background: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hdoc-iso-mini-right { flex: 1; padding: 4px 6px; background: #FFFBEB; }
.hdoc-iso-mini-word { font-size: 4.5px; font-weight: 900; color: #92400E; text-transform: uppercase; margin-bottom: 2px; }

.hdoc-iso-mini-2 { border-color: #FECACA; }
.hdoc-iso-mini-2 .hdoc-iso-mini-left { background: #DC2626; }
.hdoc-iso-mini-2 .hdoc-iso-mini-right { background: #FEF2F2; }
.hdoc-iso-mini-2 .hdoc-iso-mini-word { color: #991B1B; }


/* Safety card specifics */
.hdoc-safety-grid {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hdoc-safety-row {
    display: flex;
    justify-content: space-around;
    gap: 4px;
}
.hdoc-safety-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 4px 0;
}

/* --- HERO ANIMATIONS --- */

/* --- HERO BRAND + TAGLINE --- */


/* --- HERO BA-CTA (unterhalb der schwebenden Docs) --- */
.hero-ba-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
    pointer-events: auto;
}
.hero-ba-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}
.hero-ba-btn {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-ba-btn:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.28);
    color: white;
    transform: translateY(-1px);
}

/* --- TRUST BAR --- */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 40px 24px;
}

.trust-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.trust-stat { }
.trust-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.trust-label {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .trust-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .trust-inner { grid-template-columns: 1fr; }
}

/* --- SECTION BASE --- */
.section {
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

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

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0891B2;
    margin-bottom: 12px;
}

.section-label::before {
    display: none;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    color: var(--navy);
}

.section-title .tech { color: #0891B2; }

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

.section-desc {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 580px;
    line-height: 1.8;
}

.section-dark .section-desc { color: var(--slate); }

.section-header {
    margin-bottom: 48px;
}

.section-header-center {
    text-align: center;
}

.section-header-center .section-desc {
    margin: 0 auto;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.7;
}

.service-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
    max-height: 750px;
    background: #FFFFFF;
}

.service-card-featured .service-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-featured .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-featured .service-body {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
}

.service-card-featured h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    margin-top: 20px;
    list-style: none;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-soft);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

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

.services-v3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 56px;
    align-items: stretch;
}

.services-v3-main {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.services-v3-image {
    position: relative;
    height: 350px; /* Deutlich höher für das Motiv */
    overflow: hidden;
}

.services-v3-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Köpfe im Fokus behalten */
}

.services-v3-image-fade {
    position: absolute;
    inset: 0;
    /* Hellerer Verlauf für bessere Lesbarkeit des überlappenden Icons */
    background: linear-gradient(to top, var(--light) 0%, rgba(248,250,252,0.4) 30%, transparent 70%);
}

.services-v3-main-body {
    padding: 0 32px 34px; /* Padding oben auf 0 gesetzt */
    position: relative;
    flex: 1;
}

.services-v3-main-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    margin-top: -30px; /* Etwas höher gezogen */
    margin-bottom: 12px; /* Weniger Abstand nach unten */
    z-index: 5;
}

.services-v3-main-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px; /* Weniger Abstand nach unten */
}

.services-v3-main-body p {
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 0.95rem;
}

.services-v3-list {
    list-style: none;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Spalten für bessere Flächennutzung */
    gap: 12px 24px;
}

.services-v3-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--navy-mid);
    font-size: 0.88rem;
    font-weight: 500;
}

.services-v3-li-icon {
    width: 18px;
    height: 18px;
    border-radius: 0;
    background: transparent;
    color: rgba(8, 145, 178, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.services-v3-mini:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
    border-color: rgba(6, 182, 212, 0.28);
}

.services-v3-mini:hover .services-v3-mini-icon {
    background: rgba(6, 182, 212, 0.10);
    color: rgba(8, 145, 178, 1);
}

.services-v3-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.services-v3-mini {
    background: var(--white);
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.services-v3-mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--light);
    color: rgba(71,85,105,1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.services-v3-mini-content {
    flex: 1;
}

.services-v3-mini h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}

.services-v3-mini p {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .services-v3-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .services-v3-side { grid-template-columns: 1fr; }
    .services-v3-main-body { padding: 28px 22px 30px; }
}

.section-light {
    background: #F8FAFC;
    color: var(--navy);
}

/* --- ABOUT SECTION (V5 STYLE) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    height: 600px; /* Taller height as requested */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: white;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
}

.about-feature-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(8, 145, 178, 0.08);
    color: #0891B2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- TRANSLATION SECTION (DARK) --- */
.trans-banner {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    height: 280px;
    margin-bottom: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.trans-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trans-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4), transparent);
    display: flex; 
    align-items: center;
    padding: 0 60px;
}

.trans-banner-text {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    max-width: 500px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.trans-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.trans-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.trans-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.trans-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trans-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
}

.trans-card ul {
    list-style: none;
    margin-top: 8px;
}

.trans-card li {
    font-size: 0.92rem;
    color: var(--slate);
    padding: 6px 0 6px 24px;
    position: relative;
    line-height: 1.6;
}

.trans-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 6px; height: 6px;
    background: #0891B2;
    border-radius: 50%;
}

/* Language Portfolio Area */
.lang-portfolio-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0; /* Changed to handle collapsible */
    margin-top: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-portfolio-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 32px 48px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.lang-portfolio-toggle:hover {
    background: rgba(255, 255, 255, 0.02);
}

.lang-portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.lang-portfolio-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-portfolio-title h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.lang-portfolio-preview {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-portfolio-flags {
    display: flex;
    gap: 8px;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.flag-icon {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.flag-dots {
    color: var(--slate);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    margin-left: 2px;
}

.lang-portfolio-card.open .lang-portfolio-flags {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

.lang-portfolio-arrow {
    color: #0891B2;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-portfolio-card.open .lang-portfolio-arrow {
    transform: rotate(180deg);
}

.lang-portfolio-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 48px;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, padding 0.4s ease;
}

.lang-portfolio-card.open .lang-portfolio-content {
    max-height: 1000px;
    opacity: 1;
    padding-bottom: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.lang-portfolio-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.lang-group-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0891B2;
    margin-bottom: 16px;
}

.lang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lang-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate);
    transition: all 0.2s ease;
}

.lang-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(59, 130, 246, 0.4);
}

.lang-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .trans-grid { grid-template-columns: 1fr; }
    .lang-portfolio-grid { grid-template-columns: 1fr; gap: 32px; }
    .trans-banner-text { font-size: 1.5rem; }
    .trans-banner { height: 220px; }
}

/* --- PROCESS / HOW WE WORK --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

.process-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    margin-bottom: 12px;
    transition: all var(--transition);
}

.process-step:hover .process-num {
    color: #3B82F6;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.process-step h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.7;
}

/* --- COMPLIANCE --- */
.compliance-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.compliance-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.compliance-card:hover {
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.compliance-card .c-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.compliance-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
}

.compliance-card span {
    font-size: 0.82rem;
    color: var(--text-soft);
}

/* --- FAQ --- */
.faq-collapsible .section-inner {
    max-width: 800px;
}

.faq-section-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    display: block;
}

.faq-section-toggle .section-header {
    margin-bottom: 0;
    transition: all 0.4s ease;
}

.faq-collapsible.section-open .section-header {
    margin-bottom: 40px;
}

.faq-collapsible .section-label {
    margin-bottom: 0;
    transition: all 0.4s ease;
}

.faq-collapsible.section-open .section-label {
    margin-bottom: 12px;
}

.faq-section-arrow {
    margin-top: 12px;
    color: var(--blue);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-collapsible.section-open .faq-section-arrow {
    transform: rotate(180deg);
}

.faq-collapse-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.faq-collapsible.section-open .faq-collapse-wrapper {
    max-height: 2000px; /* Large enough to fit content */
    opacity: 1;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

/* Sample Banner from v5 */
.sample-banner {
    margin-top: 48px;
    background: #0F172A; /* Navy Dunkel */
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sample-banner-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    letter-spacing: -0.01em;
}

.sample-banner .btn {
    flex-shrink: 0;
    background: white;
    color: #0F172A;
}

.sample-banner .btn:hover {
    background: var(--cyan);
    color: white;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 40px 24px 0;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--blue); }

.faq-question::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
    filter: brightness(0) saturate(100%) invert(36%) sepia(85%) saturate(1637%) hue-rotate(202deg) brightness(97%) contrast(101%); /* Matches var(--blue) #3B82F6 */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.8;
}

/* --- CTA SECTION --- */
.cta-section {
    text-align: center;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(59, 130, 246, 0.1), transparent);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.4rem;
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--slate);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-soft);
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.contact-detail .cd-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail strong { font-size: 0.85rem; color: var(--navy); display: block; }
.contact-detail span { font-size: 0.88rem; color: var(--text-soft); }

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-side-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    box-shadow: var(--shadow);
}

.contact-side-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.contact-side-link,
.contact-side-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.92rem;
}

.contact-side-row:last-child,
.contact-side-link:last-child {
    border-bottom: 0;
}

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

.contact-side-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.08));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-side-card-dark {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-color: rgba(255,255,255,0.08);
    box-shadow: var(--shadow-lg);
}

.contact-side-card-dark h3 {
    color: white;
}

.contact-side-card-dark p {
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { display: flex; flex-direction: column; }
.full-width { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--lighter);
    transition: all var(--transition);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-soft);
    line-height: 1.5;
    margin-top: 4px;
}

.privacy-check input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.privacy-check a { color: var(--blue); text-decoration: underline; }

.form-submit {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

/* --- FOOTER --- */
.footer {
    background: var(--navy);
    color: white;
    padding: 64px 24px 0;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

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

.footer-brand-text {
    font-size: 0.88rem;
    color: var(--slate);
    margin-top: 14px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--slate);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    padding: 5px 0;
    transition: color var(--transition);
}

.footer-col a:hover { color: white; }

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--slate);
}

.footer-logo { height: 24px; opacity: 0.8; }

/* --- LEGAL PAGES --- */
.legal-page {
    padding: 120px 24px 80px;
    min-height: 70vh;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 56px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.legal-container h1 { font-size: 2rem; color: var(--navy); margin-bottom: 28px; }
.legal-container h2 { font-size: 1.25rem; color: var(--navy); margin: 28px 0 10px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal-container h2:first-of-type { border-top: none; padding-top: 0; }
.legal-container h3 { font-size: 1.05rem; color: var(--text); margin: 18px 0 8px; }
.legal-container p { color: var(--text-soft); margin-bottom: 10px; line-height: 1.7; }
.legal-container ul { padding-left: 22px; margin-bottom: 10px; color: var(--text-soft); }
.legal-container li { margin-bottom: 5px; }
.legal-container a { color: var(--blue); text-decoration: underline; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: white; padding: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08); gap: 2px;
    }
    .nav-links.nav-open { display: flex; }
    .nav-links a { color: var(--text-soft) !important; padding: 12px 16px; width: 100%; }
    .nav-links a:hover { background: var(--light) !important; color: var(--navy) !important; }
    .lang-switch { border-color: var(--border) !important; color: var(--text-soft) !important; }

    .hero { padding: 120px 20px 80px; }
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-left { text-align: center; }
    .hero-sub { margin: 0 auto 36px; }
    .hero-ctas { justify-content: center; }
    .hero h1, 
    .hero-title-gradient { font-size: 2.4rem; width: auto; max-width: 100%; }
    .hero-sub { font-size: 0.98rem; }
    .hero-machine { display: none; }
    .trust-logos-row { flex-direction: column; gap: 20px; }
    .trust-logos { justify-content: center; }
    .trust-iso-badges { justify-content: center; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { height: 450px; }
    .about-features { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card-featured { grid-template-columns: 1fr; }
    .service-card-featured .service-image { min-height: 240px; }
    .service-list { grid-template-columns: 1fr; }

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

    .services-v3-grid { grid-template-columns: 1fr; gap: 24px; }
    .services-v3-image { height: 260px; }
    .services-v3-list { grid-template-columns: 1fr; }

    .compliance-cards { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .section { padding: 70px 20px; }
    .section-title { font-size: 1.8rem; }

    .legal-container { padding: 30px; }
}

@media (max-width: 480px) {
    .hero h1,
    .hero-title-gradient { font-size: 1.9rem; width: auto; max-width: 100%; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .trust-logos { gap: 16px; }
    .tlogo { font-size: 0.78rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
