/* =========================================
   CSS Variablen & Premium Color System
   ========================================= */
:root {
    /* 
       Platzhalter-Farben. Die "--color-logo-main" und "--color-logo-accent" 
       werden später durch den exakten Logo-Hex-Code ersetzt!
    */
    --color-logo-main: #0F172A; /* Tiefblau / Slate als Platzhalter */
    --color-logo-accent: #5ab0ba; /* SO Consulting Türkis */

    --color-bg: #FAFAFA;
    --color-bg-gray: #F1F5F9;
    --color-surface: #FFFFFF;
    
    --color-text: #334155; 
    --color-text-light: #64748b; 
    
    --color-primary: var(--color-logo-main); 
    --color-accent: var(--color-logo-accent);
    --color-accent-hover: #46959f;
    
    /* Typografie */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Abstände */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Responsive adjustment for Mobile */
    --container-padding: 2rem;
    --section-padding: var(--spacing-xl);
    
    /* Transitions & Shadows (Extra Smooth) */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 50px -15px rgba(0,0,0,0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   Layout
   ========================================= */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--container-padding); }
.section { padding: var(--section-padding) 0; }
.bg-gray { background-color: var(--color-bg-gray); }
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-5 { margin-top: 3rem; }

/* =========================================
   Buttons (High Converting)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid transparent;
}

.btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(90, 176, 186, 0.3);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-light {
    background-color: #fff;
    color: var(--color-primary);
}

.btn-light:hover {
    background-color: var(--color-bg-gray);
    transform: translateY(-3px);
}

/* =========================================
   Header & Dropdown Navigation
   ========================================= */
.header {
    background-color: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(16px);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: all var(--transition-smooth);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header.scrolled {
    background-color: #fff !important;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: height var(--transition-smooth);
}

.header.scrolled .header-container { height: 80px; }

.logo-img { height: 75px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 3rem; }
.nav-list { display: flex; align-items: center; gap: 2.5rem; }

.nav-link {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link:hover { color: var(--color-accent); }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background-color: var(--color-accent); transition: var(--transition-fast);
}
.nav-link:hover::after { width: 100%; }

/* Dropdown Styles */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: #fff;
    min-width: 260px;
    box-shadow: var(--shadow-hover);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
}

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

.dropdown-item {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--color-bg-gray);
    color: var(--color-accent);
    padding-left: 2rem;
}

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.action-link { font-weight: 600; font-size: 0.95rem; color: var(--color-primary); display: flex; align-items: center; gap: 0.5rem; }
.action-link:hover { color: var(--color-accent); }

.menu-toggle { display: none; background: transparent; border: none; font-size: 2rem; color: var(--color-primary); cursor: pointer; }

/* =========================================
   Stunning Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px; /* Offset for header */
}

/* Abstract Premium Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: -1;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-gray) 100%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    width: 600px; height: 600px;
    background-color: rgba(90, 176, 186, 0.15); /* Accent tint */
    top: -10%; right: -5%;
}

.shape-2 {
    width: 400px; height: 400px;
    background-color: rgba(15, 23, 42, 0.05); /* Primary tint */
    bottom: 10%; left: -5%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(90, 176, 186, 0.1);
    color: var(--color-accent);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title { font-size: 4.5rem; margin-bottom: 1.5rem; }
.hero-text { font-size: 1.15rem; color: var(--color-text-light); margin-bottom: 2.5rem; max-width: 90%; }
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; }

.hero-trust {
    display: flex; gap: 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 2rem;
}

.trust-item {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.95rem; font-weight: 600; color: var(--color-primary);
}

.trust-item i { color: var(--color-accent); font-size: 1.2rem; }

/* Visual Placeholder for Right Side */
.hero-visual { position: relative; }
.visual-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}
.visual-card:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); box-shadow: var(--shadow-hover); }

.visual-header { height: 12px; width: 60px; background: var(--color-bg-gray); border-radius: 6px; margin-bottom: 2rem; }
.visual-pretitle { display: block; font-size: 0.75rem; font-weight: 700; color: var(--color-accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.visual-title { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--color-primary); }
.visual-desc { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 2rem; }

.visual-stat { margin-bottom: 1.5rem; }
.visual-stat span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--color-text-light); text-transform: uppercase; }
.bar-container { height: 8px; background: var(--color-bg-gray); border-radius: 4px; overflow: hidden; }
.visual-bar { height: 100%; border-radius: 4px; }
.width-80 { width: 80%; background: var(--color-accent); }
.width-95 { width: 95%; background: var(--color-primary); }

/* =========================================
   Premium Services Section
   ========================================= */
.section-header { margin-bottom: 5rem; }
.section-title { font-size: 3rem; margin-bottom: 1rem; }
.section-line { width: 60px; height: 3px; background: var(--color-accent); margin: 0 auto 1.5rem; border-radius: 2px;}
.section-subtitle { font-size: 1.15rem; color: var(--color-text-light); max-width: 600px; margin: 0 auto; }

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

.service-card-modern {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
    z-index: 1;
}

.service-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(90, 176, 186, 0.05) 0%, rgba(255,255,255,0) 100%);
    opacity: 0; transition: var(--transition-smooth); z-index: -1;
}

.service-card-modern:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.service-card-modern:hover .service-card-bg { opacity: 1; }

.service-icon-wrap {
    width: 65px; height: 65px;
    background: var(--color-primary); color: #fff;
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card-modern:hover .service-icon-wrap { background: var(--color-accent); transform: scale(1.1); }

.service-title-modern { font-size: 1.5rem; margin-bottom: 1rem; }
.service-text-modern { color: var(--color-text-light); margin-bottom: 2rem; }

.service-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-weight: 600; color: var(--color-primary); font-size: 0.95rem;
}
.service-link i { transition: var(--transition-fast); }
.service-card-modern:hover .service-link { color: var(--color-accent); }
.service-card-modern:hover .service-link i { transform: translateX(5px); }

.rechtlicher-hinweis {
    max-width: 800px;
    background: rgba(15, 23, 42, 0.04);
    padding: 1.5rem; border-radius: 12px;
    display: flex; gap: 1rem; align-items: flex-start;
    color: var(--color-text-light); font-size: 0.85rem;
}
.rechtlicher-hinweis i { font-size: 1.5rem; color: var(--color-primary); flex-shrink: 0; }

/* =========================================
   Excellence / About Section
   ========================================= */
.excellence-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
}

.overlay-glass {
    position: absolute; bottom: 2rem; right: -2rem;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px);
    padding: 1.5rem 2rem; border-radius: 16px;
    box-shadow: var(--shadow-glass);
}

.score-num { display: block; font-size: 2.5rem; font-weight: 700; color: var(--color-accent); line-height: 1; }
.score-text { font-size: 0.85rem; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 1px; }

.excellence-text { font-size: 1.1rem; color: var(--color-text-light); margin-bottom: 1.5rem; }

.features-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.feature { display: flex; align-items: center; gap: 1rem; font-weight: 600; font-size: 1.1rem; }
.feature i { font-size: 1.5rem; }

/* =========================================
   FAQ Section
   ========================================= */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-soft);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
    cursor: pointer;
    font-family: var(--font-body);
}

.faq-question i {
    color: var(--color-accent);
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-text-light);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    color: var(--color-accent);
}

/* =========================================
   High-Converting CTA
   ========================================= */
.cta-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e293b 100%);
    border-radius: 24px; padding: 5rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: var(--shadow-hover);
    position: relative; overflow: hidden;
}

.cta-box::before {
    content: ''; position: absolute; right: 0; top: 0; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(90, 176, 186, 0.2) 0%, transparent 70%);
}

.cta-content { color: #fff; max-width: 600px; position: relative; z-index: 1; }
.cta-content h2 { color: #fff; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.cta-actions { display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 1; }
.btn-cta { width: 100%; justify-content: center; padding: 1.2rem 2.5rem; font-size: 1.1rem; }

/* =========================================
   Footer Premium
   ========================================= */
.footer { background-color: var(--color-bg-gray); padding-top: 5rem; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }

.footer-logo { height: 90px; margin-bottom: 1.5rem; }
.footer-desc { color: var(--color-text-light); max-width: 350px; }

.footer-col h4 { font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--color-primary); }
.footer-col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-col ul a { color: var(--color-text-light); }
.footer-col ul a:hover { color: var(--color-accent); }

.contact-list li { display: flex; align-items: flex-start; gap: 0.8rem; color: var(--color-text-light); }
.contact-list i { margin-top: 4px; color: var(--color-accent); }

.footer-bottom { 
    background-color: #0c121e; /* Darker background to match the image */
    color: rgba(255,255,255,0.5); 
    padding: 1.5rem 0; 
    font-size: 0.85rem; 
}
.footer-bottom-container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); font-weight: 500; margin: 0; }
.footer-bottom a:hover { color: #fff; }

.designer-credit { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 0.75rem; 
    font-weight: 700;
}
.envara-logo { height: 20px; filter: brightness(0) invert(1) opacity(0.7); } /* Make it silver/white */
.designer-credit span { color: rgba(255,255,255,0.7); }
.designer-credit:hover .envara-logo { filter: brightness(0) invert(1) opacity(1); }
.designer-credit:hover span { color: #fff; }
.footer-copyright { font-weight: 400; }

/* =========================================
   Animations
   ========================================= */
.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   Responsiveness
   ========================================= */
/* =========================================
   Responsiveness
   ========================================= */

/* Desktop & Large Tablets Adjustments */
@media (max-width: 1280px) {
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
        --section-padding: 5rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Changed from 80% to 100% for better mobile experience */
        height: 100vh;
        background: #fff;
        padding: 5rem 2rem 2rem;
        flex-direction: column;
        align-items: center; /* Centered links */
        gap: 2rem;
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: none;
        display: flex;
        z-index: 1000;
    }

    .nav.active { right: 0; }
    
    .nav-list { flex-direction: column; align-items: center; width: 100%; gap: 1.5rem; }
    .nav-actions { flex-direction: column; align-items: center; width: 100%; gap: 1.5rem; margin-top: 1.5rem; }
    
    .dropdown-menu { position: static; box-shadow: none; border-left: 2px solid var(--color-accent); border-radius: 0; margin-top: 0.5rem; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; padding: 0.5rem 0;}
    .dropdown.active .dropdown-menu { display: block; }

    .menu-toggle { 
        display: block; 
        z-index: 1001; 
        position: relative;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-text { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; flex-wrap: wrap; }
    .hero-visual { display: none; }
    
    .services-grid { grid-template-columns: 1fr; gap: 2rem; }
    .excellence-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-image { height: 350px; }
    
    .cta-box { flex-direction: column; text-align: center; gap: 3rem; padding: 4rem 2rem; }
    .cta-content { max-width: 100%; }
    
    .footer-container { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    .section-header { margin-bottom: 3.5rem; }
    
    .btn-large { width: 100%; min-height: 58px; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 100%; margin: 0 auto 3rem; }
    .hero-buttons .btn { width: 100%; }
    
    .hero-trust { 
        flex-direction: column; 
        gap: 1.2rem; 
        align-items: center; 
        padding-top: 1.5rem;
    }

    .service-card-modern { padding: 2.5rem 1.5rem; }
    
    .cta-actions { width: 100%; }
    .btn-cta { width: 100%; min-height: 54px; }
    
    .footer-col { text-align: center; }
    .footer-logo { margin: 0 auto 1.5rem; }
    .footer-desc { margin: 0 auto; }
    .contact-list li { justify-content: center; }

    /* Transparent Header only for Mobile */
    .header {
        background-color: transparent;
        backdrop-filter: none;
        border-bottom: none;
    }

    .header.scrolled {
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .footer-bottom-container { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.4rem; }
    .section-title { font-size: 1.8rem; }
    .badge { font-size: 0.75rem; padding: 0.3rem 1rem; }
}

