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

:root {
    --primary-blue: #2A65C7;
    --primary-hover: #1E4E9E;
    --accent-green: #059669;
    --accent-green-hover: #047857;
    --bg-light: #F8FAFC;
    --bg-card: #ffffff;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

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

/* Header & Navigation */
header {
    background-color: #ffffff;
    border-bottom: 3px solid var(--primary-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo Styling */
.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none !important;
    font-weight: 700;
}

.logo .logo-ser {
    color: var(--primary-blue) !important;
}

.logo .logo-con {
    color: #1E293B !important;
}

.logo .logo-train {
    color: var(--accent-green) !important;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 20px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
}

nav a:hover, nav a.active {
    color: var(--primary-blue);
}

.btn-header {
    background-color: var(--primary-blue);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #153e85 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto 30px auto;
    color: #e0eafc;
}

.btn-hero {
    display: inline-block;
    background-color: var(--accent-green);
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: background-color 0.2s;
}

.btn-hero:hover {
    background-color: var(--accent-green-hover);
}

/* Core Services Section */
.services-section {
    padding: 70px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 30px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 35px 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-blue);
}

.service-icon {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* About & Highlights Section */
.about-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.features-table {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.feature-item {
    width: 31%;
    padding: 0 15px;
    text-align: center;
}

.feature-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-green);
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 70px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.contact-box {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

/* Profilbild Styling */
.profile-image-wrapper {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
}

.profile-img {
    width: 200px !important;
    height: 200px !important;
    max-width: 200px !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    border-radius: 50% !important;
    border: 4px solid var(--primary-blue) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    display: inline-block;
}

/* Legal & Content Pages Styling */
.legal-page {
    padding: 60px 0;
    background-color: #ffffff;
    min-height: 60vh;
}

.legal-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--primary-blue);
    font-size: 18px;
}

.legal-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #1E293B;
    color: #94A3B8;
    padding: 40px 0 20px 0;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links a {
    display: block;
    color: #94A3B8;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* Language Switcher Styling */
.lang-switch {
    display: inline-flex;
    align-items: center;
    margin-left: 25px;
    padding-left: 15px;
    border-left: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 700;
}

.lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 4px;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.lang-switch a:hover {
    color: var(--primary-blue);
}

.lang-switch a.active-lang {
    background-color: var(--primary-blue);
    color: #ffffff !important;
}

.lang-divider {
    color: var(--border-color);
    font-weight: 300;
}

/* Burger Button */
.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 5px;
}

/* Responsive Mobile Rules */
@media (max-width: 768px) {
    .burger-menu {
        display: block !important;
    }

    nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        padding: 20px 0;
        flex-direction: column;
        align-items: center;
        border-top: 1px solid var(--border-color);
    }

    nav.nav-active {
        display: flex !important;
    }

    nav a {
        margin: 10px 0 !important;
        font-size: 16px !important;
    }

    .lang-switch {
        margin: 15px 0 0 0 !important;
        padding-left: 0 !important;
        border-left: none !important;
    }

    .features-table, .footer-content {
        flex-direction: column;
    }

    .feature-item, .footer-col {
        width: 100%;
        margin-bottom: 25px;
        text-align: center !important;
    }
}