/* ============================================
   JuridicAlly - Modern Legal Tech AI Design
   ============================================ */

/* ============================================
   Self-hosted DM Sans Font
   Note: Use preload in HTML <head> for optimal loading:
   <link rel="preload" href="fonts/DMSans-latin.woff2" as="font" type="font/woff2" crossorigin>
   ============================================ */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: optional;
    src: url('fonts/DMSans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: optional;
    src: url('fonts/DMSans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================
   CSS Variables - Exakt nach App Styleguide
   ============================================ */
:root {
    /* Farben - Exakt wie Styleguide */
    --primary: #1E4D6B;
    --primary-light: #2a6a8f;
    --primary-dark: #153a52;
    --accent: #B87333;
    --copper: #B87333;
    --copper-light: #d4915a;
    --muted: #5A6B7A;
    --stone: #5A6B7A;
    
    /* Hintergründe */
    --warm-white: #FDFBF7;
    --warm-100: #f8f6f2;
    --warm-200: #f0ece5;
    --white: #ffffff;
    --dark: #0f1419;
    
    /* Grautöne */
    --gray-100: #f7f9fc;
    --gray-200: #e8edf3;
    --gray-300: #d1d9e3;
    --gray-400: #9aa5b4;
    --gray-500: #6b7785;
    --gray-600: #5A6B7A;
    --gray-700: #4a5968;
    --gray-800: #2d3748;
    --gray-900: #1E4D6B;
    
    /* Gradients */
    --gradient-warm: linear-gradient(135deg, #FDFBF7 0%, #FDFBF7 90%, rgba(184, 115, 51, 0.15) 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-copper: linear-gradient(135deg, var(--accent) 0%, var(--copper-light) 100%);
    --gradient-dark: linear-gradient(135deg, #0f1419 0%, #1a2634 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(30, 77, 107, 0.15) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(184, 115, 51, 0.1) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(90, 107, 122, 0.1) 0px, transparent 50%);
    
    /* Shadows - EXAKT wie Styleguide */
    --shadow-soft: 0 4px 20px rgba(30, 77, 107, 0.06);
    --shadow-soft-lg: 0 30px 80px rgba(30, 77, 107, 0.08);
    --shadow-btn-hover: 0 8px 24px rgba(30, 77, 107, 0.15);
    --shadow-sm: 0 2px 8px rgba(30, 77, 107, 0.05);
    --shadow-md: 0 4px 20px rgba(30, 77, 107, 0.08);
    --shadow-lg: 0 8px 40px rgba(30, 77, 107, 0.10);
    --shadow-xl: 0 20px 60px rgba(30, 77, 107, 0.12);
    
    /* Border - EXAKT wie Styleguide */
    --border: rgba(30, 77, 107, 0.1);
    --border-strong: rgba(30, 77, 107, 0.15);
    --border-subtle: rgba(30, 77, 107, 0.1);
    
    /* Radii - EXAKT wie Styleguide */
    --radius-sm: 8px;
    --radius-md: 12px;      /* rounded-xl in Tailwind */
    --radius-lg: 16px;      /* rounded-2xl */
    --radius-xl: 20px;      /* Buttons */
    --radius-2xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-y: scroll;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--gradient-warm);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - App Styleguide: DM Sans with tight tracking */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.04em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; letter-spacing: -0.02em; transition: color 0.2s ease; }

p {
    color: var(--stone);
    font-size: 1.1rem;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation - Clean Solid Style
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-base);
    /* System font stack to prevent FOUT in navigation */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--warm-white);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-brand-text .juridic {
    color: var(--primary);
}

.nav-brand-text .ally {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(30, 77, 107, 0.08);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(30, 77, 107, 0.12);
}

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

.bar {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ============================================
   Hero Section - Modern AI Style
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 100px;
    background: var(--warm-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

/* Animated gradient orbs */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge svg {
    color: var(--accent);
}

/* Ally hero badge */
.ally-hero .hero-badge {
    border-color: rgba(184, 115, 51, 0.3);
    color: var(--copper);
}

.ally-hero .hero-badge svg {
    color: var(--copper);
}

.hero-title {
    margin-bottom: 24px;
    color: var(--primary);
}

.hero-title .juridic {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: var(--primary);
}

.hero-title .ally {
    color: var(--accent);
    background: none;
    -webkit-text-fill-color: var(--accent);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--stone);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--stone);
}

/* Hero Visual */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.hero-graphic {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    aspect-ratio: 1;
}

.hero-graphic::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(184, 115, 51, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(30, 77, 107, 0.4) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-md);
    object-fit: cover;
    position: relative;
    z-index: 1;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 10px 30px rgba(30, 77, 107, 0.1));
}

/* Hero features list */
.hero-features {
    font-size: 1.1rem;
    color: var(--stone);
    line-height: 2;
    margin-bottom: 32px;
}

/* ============================================
   Buttons - EXAKT wie App Styleguide
   border-radius: 20px, padding: 12px 24px
   hover: scale(1.02) + shadow
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(30, 77, 107, 0.15);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border-strong);
}

.btn-secondary:hover {
    background: rgba(30, 77, 107, 0.05);
    border-color: var(--primary);
    transform: scale(1.02);
}

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

.btn-copper:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(184, 115, 51, 0.15);
}

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

.btn-white:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(30, 77, 107, 0.15);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: scale(1.02);
}

/* ============================================
   Efficiency Section - Gradient Banner
   ============================================ */
.efficiency {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.efficiency::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(184, 115, 51, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(30, 77, 107, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.efficiency .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.efficiency .section-header h2,
.efficiency-main-title {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    color: var(--white) !important;
    margin-bottom: 16px;
    font-weight: 700;
}

.efficiency-tagline {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   About Section - Clean & Modern
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 600;
}

.about-description {
    font-size: 1.1rem;
    color: var(--stone);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.feature-icon {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.feature-icon i {
    font-size: 5rem;
    color: var(--white);
}

/* ============================================
   Services Section - Card Grid
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--warm-white);
}

.services .container {
    max-width: 1280px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--stone);
    max-width: 600px;
    margin: 0 auto;
}

.service-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.service-item:hover {
    box-shadow: var(--shadow-soft-lg);
    border-color: rgba(30, 77, 107, 0.2);
}

/* App Styleguide: Title changes to accent on hover */
.service-item:hover .service-text h3 {
    color: var(--accent);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.service-content.reverse {
    grid-template-columns: auto 1fr;
}

.service-text h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--primary);
    transition: color 0.2s ease;
}

.service-subtitle {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.service-description {
    font-size: 1.05rem;
    color: var(--stone);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-tagline {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 24px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(30, 77, 107, 0.08) 0%, rgba(184, 115, 51, 0.08) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary);
}

/* ============================================
   Innovation Section
   ============================================ */
.innovation {
    padding: 120px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.innovation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(184, 115, 51, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.innovation .container {
    position: relative;
    z-index: 1;
}

.innovation-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.innovation-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.innovation-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.innovation h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.innovation-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* ============================================
   Trust Section - Stats & Testimonials
   ============================================ */
.trust {
    padding: 120px 0;
    background: var(--white);
}

.trust .container {
    text-align: center;
}

.trust h2 {
    margin-bottom: 16px;
}

.trust-subtitle {
    font-size: 1.2rem;
    color: var(--stone);
    margin-bottom: 64px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.testimonial {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    text-align: left;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.testimonial:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft-lg);
}

.testimonial h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.testimonial p {
    color: var(--stone);
    font-size: 1rem;
    line-height: 1.6;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding: 48px;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Customers Section
   ============================================ */
.customers-section {
    padding: 120px 0;
    background: var(--gray-100);
}

.customers-section .container {
    text-align: center;
}

.customers-section h2 {
    margin-bottom: 16px;
}

.customers-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.customer-testimonial {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: left;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.customer-testimonial:hover {
    box-shadow: var(--shadow-soft-lg);
    border-color: var(--accent);
}

.customer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    border: 3px solid var(--accent);
}

.customer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-info h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.customer-title {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
}

.customer-specialties {
    font-size: 0.85rem;
    color: var(--stone);
    margin-bottom: 20px;
    line-height: 1.5;
}

.customer-quote {
    position: relative;
    padding-left: 24px;
    border-left: 3px solid var(--accent);
}

.customer-quote i {
    display: none;
}

.customer-quote p {
    font-size: 0.95rem;
    color: var(--stone);
    font-style: italic;
    line-height: 1.6;
}

/* ============================================
   Contact Section - Primary mit Kupfer-Akzent
   ============================================ */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(184, 115, 51, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Centered Contact Layout (no form) */
.contact-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-centered h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.contact-centered .section-label {
    color: var(--accent);
}

.contact-centered .contact-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-details-centered {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.contact-details-centered .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--white);
    color: var(--primary);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(184, 115, 51, 0.15);
}

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

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.form-group.checkbox label {
    font-size: 0.9rem;
    color: var(--stone);
    line-height: 1.5;
}

.contact-form .btn {
    width: 100%;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 64px 0 32px;
    background: var(--dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   Product Pages - Hero
   ============================================ */
.product-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(184, 115, 51, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(30, 77, 107, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   Ally Page - Copper Hero (Light Variant)
   ============================================ */
.ally-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.ally-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.ally-hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.12) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.ally-hero .container {
    position: relative;
    z-index: 1;
}

.ally-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ally-hero-text h1 {
    color: var(--copper);
    margin-bottom: 24px;
}

.ally-hero-text h1 .ally-name {
    color: var(--copper);
}

.ally-hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 600;
}

.ally-hero-description {
    font-size: 1.2rem;
    color: var(--stone);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.ally-hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.ally-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ally-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft-lg);
    border: 1px solid var(--border);
}

/* Ally Hero Trust Items */
.ally-hero .hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.ally-hero .hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--stone);
    font-size: 0.95rem;
    font-weight: 500;
}

.ally-hero .hero-trust-item svg {
    color: var(--copper);
    flex-shrink: 0;
}

/* Ally name styled in copper */
.ally-name,
span.ally-copper {
    color: var(--copper);
    font-weight: 700;
}

/* Responsive Ally Hero */
@media (max-width: 1024px) {
    .ally-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ally-hero-text {
        order: 1;
    }
    
    .ally-hero-image {
        order: 0;
    }
    
    .ally-hero-buttons {
        justify-content: center;
    }
    
    .ally-hero .hero-trust {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ally-hero {
        padding: 140px 0 80px;
    }
    
    .ally-hero-buttons {
        flex-direction: column;
    }
    
    .ally-hero .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

.product-hero .container {
    position: relative;
    z-index: 1;
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
}

.product-hero-text h1 {
    color: var(--white);
    margin-bottom: 24px;
}

.product-hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 600;
}

.product-hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.product-hero-buttons {
    display: flex;
    gap: 16px;
}

.product-hero-image .feature-icon {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.product-hero-image .feature-icon i {
    color: var(--accent);
}

/* ============================================
   Product Features Grid
   ============================================ */
.product-features {
    padding: 120px 0;
    background: var(--white);
}

.product-features .container {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.feature-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    text-align: left;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(30, 77, 107, 0.2);
    box-shadow: var(--shadow-soft-lg);
}

.feature-card:hover .feature-card-icon svg {
    color: var(--accent);
}

/* App Styleguide: Title changes to accent on hover (group-hover pattern) */
.feature-card:hover h3,
.feature-card:hover h4 {
    color: var(--accent);
}

.feature-icon-small {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-small i {
    font-size: 1.5rem;
    color: var(--white);
}

/* Copper variant feature icons */
.feature-icon-small-copper {
    width: 56px;
    height: 56px;
    background: var(--gradient-copper);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-small-copper i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.feature-card p {
    font-size: 1rem;
    color: var(--stone);
    line-height: 1.6;
}

/* ============================================
   Problem Section
   ============================================ */
.problem-section {
    padding: 120px 0;
    background: var(--gray-100);
}

.problem-section .container {
    text-align: center;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.problem-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.problem-card:hover {
    border-color: rgba(30, 77, 107, 0.2);
    box-shadow: var(--shadow-soft-lg);
}

.problem-card:hover .problem-icon i {
    color: var(--accent);
}

.problem-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(30, 77, 107, 0.08) 0%, rgba(184, 115, 51, 0.08) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.problem-icon i {
    font-size: 1.75rem;
    color: var(--primary);
    transition: color 0.2s ease;
}

.problem-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.6;
}

/* ============================================
   How It Works / Process Steps
   ============================================ */
.how-it-works {
    padding: 120px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(184, 115, 51, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.how-it-works h2 {
    color: var(--white);
    margin-bottom: 64px;
}

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

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-copper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 24px;
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* How It Works - Ally Variant (Primary with Copper accents) */
.how-it-works-copper {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-copper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(184, 115, 51, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works-copper .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.how-it-works-copper h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.how-it-works-copper .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.how-it-works-copper .step-number {
    background: var(--gradient-copper);
}

.how-it-works-copper .step-number i {
    color: var(--white);
}

.how-it-works-copper .step-content h3 {
    color: var(--white);
}

.how-it-works-copper .step-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Success Stories
   ============================================ */
.success-stories {
    padding: 120px 0;
    background: var(--white);
}

.success-stories .container {
    text-align: center;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.story-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    text-align: left;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.story-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft-lg);
}

.story-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-copper);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.story-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.story-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.story-case {
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 500;
}

.story-description {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-stats {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.story-stats span {
    font-size: 0.85rem;
    color: var(--stone);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: 120px 0;
    background: var(--gray-100);
}

.pricing .container {
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.pricing-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card:hover {
    border-color: rgba(30, 77, 107, 0.2);
    box-shadow: var(--shadow-soft-lg);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-copper);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.price {
    margin-bottom: 32px;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--stone);
    vertical-align: top;
}

.price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: var(--stone);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--stone);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent);
    font-size: 1rem;
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================
   CTA Section - Einfarbig Primary
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

/* CTA Section - Ally Variant (Primary with Copper accents) */
.cta-section-copper {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section-copper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(184, 115, 51, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Light CTA Section - matches features section */
.cta-section-light {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.cta-section-light .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section-light .cta-content h2 {
    color: var(--primary);
    margin-bottom: 16px;
}

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

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ============================================
   Expertise Areas
   ============================================ */
.expertise-areas {
    padding: 120px 0;
    background: var(--gray-100);
}

.expertise-areas .container {
    text-align: center;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.expertise-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    text-align: left;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.expertise-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft-lg);
}

.expertise-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.expertise-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.expertise-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.expertise-details h4 {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.expertise-details ul {
    list-style: none;
}

.expertise-details li {
    font-size: 0.95rem;
    color: var(--stone);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.expertise-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-page {
    padding: 160px 0 100px;
    background: var(--warm-white);
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 16px;
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

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

.legal-content li {
    color: var(--stone);
    margin-bottom: 8px;
}

/* ============================================
   About Hero Section - Two Column Layout
   ============================================ */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.about-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-hero-left {
    text-align: left;
}

.about-hero-left h1 {
    margin-bottom: 24px;
    color: var(--primary);
}

.about-hero-left h1 span {
    background: var(--gradient-copper);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-right {
    text-align: left;
}

.about-hero-right .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 600;
    margin: 0;
}

.about-hero-description {
    font-size: 1.1rem;
    color: var(--stone);
    line-height: 1.8;
}

/* ============================================
   About Hero Card Section
   ============================================ */
.about-hero-card-section {
    padding: 160px 0 100px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.about-hero-card-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(184, 115, 51, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-card-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.about-hero-card-section h1 {
    color: var(--white);
    margin-bottom: 24px;
}

.about-hero-card-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background: var(--white);
}

.team-section .container {
    text-align: center;
}

/* Team Grid - Combined Cards */
.team-grid-combined {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.team-card-combined {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: left;
}

.team-card-combined:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft-lg);
}

.team-card-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gray-100);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.team-card-content {
    padding: 28px;
}

.team-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.team-card-header h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin: 0;
}

.team-card-role-badge {
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card-position {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
    margin: 0 0 16px 0;
}

.team-card-bio {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.team-card-quote {
    font-size: 0.9rem;
    color: var(--primary);
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}

/* Legacy Team Photos Row - keep for compatibility */
.team-photos-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
    margin-bottom: 64px;
}

.team-photo-card {
    text-align: center;
}

.team-photo-card .team-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto 24px;
    border: 4px solid var(--accent);
    position: relative;
    background: var(--gray-100);
}

.team-photo-card .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-photo-card .team-photo .photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: none;
    align-items: center;
    justify-content: center;
}

.team-photo-card .team-photo .photo-placeholder span {
    font-size: 5rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0.8;
}

.team-photo-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.team-photo-card .team-role {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    margin: 0;
}

/* Team Descriptions */
.team-descriptions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.team-description {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.team-description:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft-lg);
}

.description-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.description-header h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
}

.description-role {
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.description-bio {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.description-quote {
    font-size: 0.95rem;
    color: var(--primary);
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

/* Responsive Team */
@media (max-width: 1024px) {
    .team-grid-combined {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 64px;
    }

    .team-photos-row,
    .team-descriptions {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-photo-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .team-description:last-child {
        grid-column: span 2;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .team-photos-row,
    .team-descriptions {
        grid-template-columns: 1fr;
    }

    .team-photo-card:last-child,
    .team-description:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .team-photo-card .team-photo {
        max-width: 280px;
    }

    .about-hero {
        padding: 140px 0 60px;
    }

    .about-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-hero-left {
        text-align: center;
    }

    .about-hero-right {
        text-align: center;
    }

    .about-hero-right .hero-trust {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .about-hero-subtitle {
        font-size: 1.15rem;
    }

    .about-hero-description {
        font-size: 1rem;
    }
}

/* Legacy Team Grid - keep for compatibility */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.team-member {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
    cursor: pointer;
}

.team-member:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft-lg);
}

.team-member h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.team-member .role {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
}

.team-member .description {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.6;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 77, 107, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-soft-lg);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--stone);
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--gray-200);
    color: var(--primary);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .hero-container {
        gap: 60px;
    }

    .hero-stats {
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-hero-left {
        text-align: center;
    }

    .about-hero-right {
        text-align: center;
    }

    .about-hero-right .hero-trust {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-visual {
        max-width: 350px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-content,
    .service-content.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 24px;
    }

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

    .stats {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .customers-testimonials {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .product-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-hero-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-step::after {
        display: none;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-visual {
        max-width: 280px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .btn {
        width: 100%;
    }

    .features-grid,
    .problems-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .service-item,
    .feature-card,
    .problem-card,
    .testimonial,
    .customer-testimonial,
    .story-card,
    .pricing-card,
    .expertise-card,
    .team-member {
        padding: 32px 24px;
    }

    .contact-form {
        padding: 32px 24px;
    }

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

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   App-Style Components (from Styleguide)
   ============================================ */

/* Card-Soft - EXAKT wie App Styleguide */
.card-soft {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.card-soft:hover {
    box-shadow: var(--shadow-soft-lg);
    border-color: rgba(30, 77, 107, 0.2);
}

/* Chip Styles - EXAKT wie App */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--warm-100);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.2s ease;
}

.chip:hover {
    background: var(--warm-200);
    border-color: var(--border-strong);
}

.chip-accent {
    background: rgba(184, 115, 51, 0.1);
    border-color: rgba(184, 115, 51, 0.2);
    color: var(--accent);
}

.chip-accent:hover {
    background: rgba(184, 115, 51, 0.15);
}

/* Folder Card Style - EXAKT wie App */
.folder-card {
    background: linear-gradient(180deg, #f5f0eb 0%, #faf8f6 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.folder-card:hover {
    box-shadow: var(--shadow-soft);
    border-color: var(--accent);
}

/* Category Label - EXAKT wie App: text-xs uppercase tracking-widest text-accent font-semibold */
.category-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

/* AI Disclaimer Banner - EXAKT wie App: bg-warm-100 rounded-2xl p-4 border-subtle */
.ai-disclaimer {
    background: var(--warm-100);
    border: 1px solid rgba(30, 77, 107, 0.05);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
}

.ai-disclaimer p {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Notification System
   ============================================ */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

/* ============================================
   Trust Bar Section
   ============================================ */
.trust-bar {
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-bar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.trust-bar-label {
    font-size: 0.95rem;
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.trust-bar-stats {
    display: flex;
    gap: 64px;
    align-items: center;
}

.trust-stat {
    text-align: center;
}

.trust-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: block;
    letter-spacing: -0.04em;
}

.trust-stat-label {
    font-size: 0.9rem;
    color: var(--stone);
    margin-top: 8px;
    display: block;
}

/* Trust Bar Mini Testimonials */
.trust-bar-testimonials {
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    background: var(--warm-100);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    max-width: 340px;
    flex: 1;
    min-width: 280px;
}

.trust-testimonial-photo {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.trust-testimonial-content {
    flex: 1;
}

.trust-testimonial-content p {
    font-size: 0.9rem;
    color: var(--primary);
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.trust-testimonial-author {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

/* JuridicAlly brand colors in text */
.trust-testimonial .juridic {
    color: var(--primary);
    font-weight: 600;
}

.trust-testimonial .ally {
    color: var(--accent);
    font-weight: 600;
}

.contact-centered .juridic {
    color: var(--white);
    font-weight: 600;
}

.contact-centered .ally {
    color: var(--accent);
    font-weight: 600;
}

/* ============================================
   Hero Trust Items
   ============================================ */
.hero-trust {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--stone);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-trust-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ============================================
   Hero Illustration
   ============================================ */
.hero-illustration {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.hero-illustration:hover {
    box-shadow: var(--shadow-soft-lg);
}

/* ============================================
   Section Label - EXAKT wie App: text-xs uppercase tracking-widest text-accent font-semibold
   ============================================ */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

/* ============================================
   Service Badge - EXAKT wie App Category Label
   ============================================ */
.service-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

/* ============================================
   Service Features List
   ============================================ */
.service-features {
    list-style: none;
    margin: 24px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--stone);
    font-size: 1rem;
}

.service-features li svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ============================================
   Service Visual
   ============================================ */
.service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(30, 77, 107, 0.06));
    transition: all 0.2s ease;
}

.service-visual:hover .service-icon-img {
    filter: drop-shadow(0 8px 24px rgba(30, 77, 107, 0.1));
}

.service-screenshot {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: contain;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.service-visual:hover .service-screenshot {
    transform: scale(1.02);
    box-shadow: var(--shadow-soft-lg);
}

/* ============================================
   Features Section (Homepage)
   ============================================ */
.features-section {
    padding: 120px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.features-section .container {
    text-align: center;
}

.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(30, 77, 107, 0.08) 0%, rgba(184, 115, 51, 0.08) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.feature-card-icon svg {
    color: var(--primary);
    width: 28px;
    height: 28px;
    transition: color 0.2s ease;
}

/* ============================================
   Testimonials Section (Homepage)
   ============================================ */
.testimonials-section {
    padding: 120px 0;
    background: var(--warm-100);
}

.testimonials-section .container {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: left;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-soft-lg);
    border-color: var(--accent);
}

/* Testimonial Photo */
.testimonial-photo {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Spezifische Anpassungen für Fotos - Gesichter nicht abschneiden */
.testimonial-card:nth-child(1) .testimonial-photo img {
    object-position: center 35%;
}

.testimonial-card:nth-child(2) .testimonial-photo img {
    object-position: center 25%;
}

.testimonial-card:nth-child(3) .testimonial-photo img {
    object-position: center 35%;
}

.testimonial-card:hover .testimonial-photo img {
    transform: scale(1.05);
}

.testimonial-photo .photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.testimonial-photo .photo-placeholder span {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0.8;
}

.testimonial-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    position: relative;
    flex: 1;
}

.quote-icon {
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--stone);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0 0 4px 0;
    font-weight: 600;
}

.testimonial-author .author-title {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
    margin: 0 0 8px 0;
}

.testimonial-author .author-specialty {
    font-size: 0.85rem;
    color: var(--stone);
    margin: 0;
    line-height: 1.5;
}

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

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial-photo {
        height: 260px;
    }
    
    .trust-bar-testimonials {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-testimonial {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    
    .trust-testimonial-photo {
        width: 120px;
        height: 120px;
    }
    
    .contact-details-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   Contact Form Enhancements
   ============================================ */
.contact-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--accent);
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-item span {
    font-size: 1rem;
    color: var(--white);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--stone);
    margin-bottom: 8px;
}

.form-group a {
    color: var(--accent);
    text-decoration: underline;
}

/* Inline Contact Details in Form */
.contact-details-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    justify-content: center;
}

.contact-item-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--stone);
    font-size: 0.9rem;
}

.contact-item-inline svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ============================================
   Footer Enhancements
   ============================================ */
.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-company {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.footer-nav {
    display: flex;
    gap: 64px;
}

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

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

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

/* ============================================
   Button Nav Variant
   ============================================ */
.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ============================================
   Responsive Enhancements
   ============================================ */
@media (max-width: 1024px) {
    .trust-bar-stats {
        gap: 40px;
    }
    
    .trust-bar-testimonials {
        gap: 20px;
    }
    
    .trust-testimonial {
        max-width: 300px;
        min-width: 260px;
    }

    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-nav {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .trust-bar-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .features-section .features-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 48px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 32px;
        width: 100%;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-col {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .trust-stat-value {
        font-size: 2rem;
    }

    .hero-illustration {
        max-width: 300px;
    }
}
