/* MediaServices GmbH - Modern HighTech Design System */
/* Seriöse, technische und zurückhaltende Designrichtung */

/* CSS Reset & Modern Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

/* Modern Color Palette - Technical & Professional */
:root {
    --primary-color: #1894B5;
    --primary-dark: #147a94;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --border-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

h4 {
    font-size: 1.25rem;
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Modern Layout System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Modern Header & Navigation */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    font-family: Helvetica, Arial, sans-serif;
}

.logo span {
    color: var(--accent-color); /* Cyan für SERVICES */
}

.logo .gmbh {
    color: white; /* Weiß für GmbH */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
    background: rgba(24, 148, 181, 0.1);
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero h1 span {
    color: var(--accent-color) !important; /* Cyan für SERVICES in Hero Headlines */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* Service Cards */
.services-section {
    padding: 4rem 0;
}

.service-card {
    background: rgba(22, 33, 62, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(24, 148, 181, 0.2);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card.featured {
    background: rgba(24, 148, 181, 0.1);
    border-color: var(--primary-color);
}

.service-card.featured h3 {
    color: var(--accent-color);
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Modern Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

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

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

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

.btn-secondary:hover {
    background: rgba(24, 148, 181, 0.1);
}

/* AI/HighTech Badge */
.ai-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Partner Grid */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.partner-card {
    text-align: center;
    padding: 2rem;
    background: rgba(22, 33, 62, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.partner-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.partner-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Legacy Compatibility - Smooth transition for old content */
.legacy-content {
    background: rgba(22, 33, 62, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.legacy-content table {
    width: 100%;
    border-collapse: collapse;
}

.legacy-content td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legacy-content font {
    font-family: inherit !important;
    color: inherit !important;
}

/* Print Service Removal - Hidden by default */
.service-print {
    display: none !important;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

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

/* Subtle Tech Pattern Background */
.tech-pattern {
    background-image: 
        linear-gradient(45deg, transparent 24%, rgba(24, 148, 181, 0.05) 25%, rgba(24, 148, 181, 0.05) 26%, transparent 27%, transparent 74%, rgba(24, 148, 181, 0.05) 75%, rgba(24, 148, 181, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(-45deg, transparent 24%, rgba(24, 148, 181, 0.05) 25%, rgba(24, 148, 181, 0.05) 26%, transparent 27%, transparent 74%, rgba(24, 148, 181, 0.05) 75%, rgba(24, 148, 181, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
}
