@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Corporate Industrial Color Palette */
    --bg-dark: #0f172a;
    /* Slate 900 */
    --bg-panel: #1e293b;
    /* Slate 800 */
    --bg-light: #f8fafc;
    /* Slate 50 */
    --bg-white: #ffffff;
    /* White */

    --text-primary: #f8fafc;
    /* Slate 50 for dark mode */
    --text-primary-dark: #0f172a;
    /* Slate 900 for light mode */
    --text-secondary: #94a3b8;
    /* Slate 400 */
    --text-secondary-dark: #64748b;
    /* Slate 500 for light mode */

    --accent-orange: #f59e0b;
    /* Amber 500 */
    --accent-orange-hover: #d97706;
    /* Amber 600 */
    --accent-orange-light: #fef3c7;
    /* Amber 100 */

    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-dark: rgba(15, 23, 42, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;

    /* Clean, solid shadows instead of glows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.relative {
    position: relative;
}

/* Light / Dark Section Helpers */
.section-light {
    background-color: var(--bg-light);
    color: var(--text-primary-dark);
}

.section-light .subtitle {
    color: var(--text-secondary-dark);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 28px;
    letter-spacing: 0.5px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    margin-left: 2px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #000;
    border: 1px solid var(--accent-orange);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    border-color: var(--accent-orange-hover);
}

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

.btn-outline:hover {
    background-color: var(--bg-panel);
    border-color: var(--text-secondary);
}

.section-light .btn-outline {
    color: var(--text-primary-dark);
    border-color: var(--border-color-dark);
}

.section-light .btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: var(--text-secondary-dark);
}

.sm-btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent-orange);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
}

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

/* Trust Bar */
.trust-bar {
    padding: 24px 0;
    background-color: var(--bg-panel);
    border-bottom: 1px solid var(--border-color);
}

.trust-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: #cbd5e1;
    opacity: 0.8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-header .subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color-dark);
    border-radius: 8px;
    padding: 40px 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: var(--accent-orange-light);
    color: var(--accent-orange);
    font-size: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-primary-dark);
}

.feature-card p {
    color: var(--text-secondary-dark);
}

/* Split Section (Image Cards) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.image-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.image-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 158, 11, 0.3);
}

.card-img-wrapper {
    height: 240px;
    width: 100%;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.card-list {
    list-style: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    margin-top: auto;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.card-list i {
    color: var(--accent-orange);
}

/* Mockup Card */
.mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.expert-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color-dark);
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    position: relative;
    color: var(--text-primary-dark);
}

.expert-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color-dark);
    padding-bottom: 20px;
}

.expert-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary-dark);
}

.expert-info h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.badge-scs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-orange-light);
    color: var(--accent-orange-hover);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.expert-rate {
    text-align: right;
}

.rate-amount {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary-dark);
}

.rate-label {
    font-size: 12px;
    color: var(--text-secondary-dark);
    text-transform: uppercase;
    font-weight: 600;
}

.expert-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-icon {
    color: var(--text-secondary-dark);
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.detail-content strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary-dark);
    margin-bottom: 2px;
}

.detail-content span {
    color: var(--text-secondary-dark);
    font-size: 14px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.skill-tag {
    background: var(--bg-light);
    border: 1px solid var(--border-color-dark);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-primary-dark);
    font-weight: 500;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Forms & Modal Content */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    width: 100%;
    max-width: 500px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    /* NEU: Hält den Button über dem Menü */
    position: relative;
    /* NEU */
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background: var(--bg-panel);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: -100%;
        left: 0;
        right: 0;
        background: var(--bg-panel);
        flex-direction: column;
        padding: 80px 24px 40px;
        transition: top 0.4s ease;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        top: 0;
    }

    .nav-links .nav-link {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        text-align: center;
    }

    .nav-links .btn {
        margin: 10px 0;
        width: 100%;
    }

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

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

    .trust-content {
        flex-direction: column;
        gap: 16px;
    }
}