/* 
  Theme: IT Services Meyer - Premium Corporate
  Colors: Deep Navy, Light Gray, Crisp White, Premium Gold
*/

:root {
    --bg-main: #F8F9FB; /* Light premium gray-blue for main bg */
    --bg-secondary: #FFFFFF;
    --navy-blue: #0A2540; /* High-end corporate navy */
    --navy-light: #153B61;
    --accent-gold: #D4AF37; /* Premium gold accent */
    --accent-gold-hover: #b8972e;
    --text-primary: #1A2639;
    --text-secondary: #4A5568;
    --border-color: rgba(10, 37, 64, 0.1);
    
    --shadow-soft: 0 10px 40px rgba(10, 37, 64, 0.08);
    --shadow-hover: 0 20px 50px rgba(10, 37, 64, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Details */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--navy-blue);
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--accent-gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.center {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--navy-blue);
    color: #fff;
}

.btn-primary-small {
    padding: 0.6rem 1.5rem;
    background-color: var(--navy-blue);
    color: white !important;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.btn-primary-small:hover {
    background-color: var(--navy-light);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(10, 37, 64, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-size: 1.5rem;
    color: var(--navy-blue);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-gold);
}

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

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--navy-blue);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 50%;
    background-image: url('../assets/images/hero_corporate.png');
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to right, transparent, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
    z-index: -1;
    opacity: 0.9;
}

.hero-inner {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--navy-blue);
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* About / Intro Section */
.section {
    padding: 100px 0;
}

.bg-white {
    background-color: var(--bg-secondary);
}

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

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-box {
    background: var(--bg-main);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(212, 175, 55, 0.3);
}

.stat-number {
    font-size: 3rem;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

/* Divisions Section */
.divisions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.division-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 50px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 6px;
    background: var(--navy-blue);
    transition: var(--transition);
}

.division-card.gold-trim::before {
    background: var(--accent-gold);
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.division-card:hover::before {
    height: 10px;
}

.div-logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.div-logo span {
    color: var(--accent-gold);
}

.division-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background-color: var(--navy-blue);
    color: white;
    position: relative;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    display: block;
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item a, .info-item span {
    color: white;
    font-size: 1.1rem;
}

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

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

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
}

select.form-control {
    appearance: none;
    cursor: pointer;
}

select.form-control option {
    background: var(--navy-blue);
    color: white;
}

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

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: #051322;
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer .logo-text {
    color: white;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* Standard Pages (Impressum/Datenschutz) */
.page-header {
    background-color: var(--navy-blue);
    padding: 180px 0 80px 0;
    color: white;
    text-align: center;
}

.page-header .section-title {
    color: white;
    margin: 0;
}

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

.legal-content h2 {
    margin: 40px 0 20px 0;
    color: var(--navy-blue);
}

.legal-content p, .legal-content li {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .divisions-grid, .intro-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-bg {
        width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
        opacity: 0.15;
    }
    .contact-wrapper {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        transition: 0.4s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        justify-content: center;
        height: 100%;
        gap: 2rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .hero {
        text-align: center;
        padding-top: 150px;
    }
    
    .hero-content {
        margin: 0 auto;
    }

    .footer-top, .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
