/* style.css */
:root {
    /* Farbpalette */
    --primary-dark: #0f172a; /* Slate 900 */
    --primary-darker: #020617; /* Slate 950 */
    --services-bg: #1e293b; /* Slate 800 - Dunklerer Hintergrund für Services */
    --accent-blue: #3b82f6; /* Blue 500 */
    --accent-blue-hover: #2563eb; /* Blue 600 */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #cbd5e1;
    --bg-white: #ffffff;
    --bg-light: #f8fafc; /* Slate 50 */
    --border-color: #e2e8f0;
    --border-dark: #334155;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.bg-light { background-color: var(--bg-light); }
.text-white { color: white; }
.text-accent { color: var(--accent-blue); }
.block { display: block; }
.mb-large { margin-bottom: 4rem; }

/* Typografie */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

.divider {
    width: 64px;
    height: 4px;
    background-color: var(--accent-blue);
    border-radius: 4px;
    margin-bottom: 2rem;
}

.divider.bg-accent {
    background-color: var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-blue-hover);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background-color: var(--primary-dark);
    color: white;
    padding: 120px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.motto-box {
    margin-bottom: 2.5rem;
    display: inline-block;
}

.motto {
    color: #94a3b8;
    font-style: italic;
    border-left: 4px solid var(--accent-blue);
    padding-left: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 1.125rem;
    font-family: Georgia, serif;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--services-bg);
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.hero-image img:hover {
    filter: grayscale(0%);
}

/* About Section */
.about {
    background-color: var(--bg-white);
    padding: 96px 0;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 768px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: var(--services-bg);
    color: white;
    padding: 96px 0;
}

.category-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card {
    padding: 32px;
    border-radius: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.dark-card {
    background-color: var(--primary-dark);
    border: 1px solid var(--border-dark);
}

.dark-card:hover {
    border-color: #475569;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
}

.card .icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--services-bg);
    color: var(--accent-blue);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.card p {
    color: #94a3b8;
}

/* Cases Section */
.cases {
    padding: 96px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.case-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.case-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.case-step {
    margin-bottom: 1.5rem;
}

.case-step h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.case-step p {
    color: #334155;
}

.case-step.result h4 {
    color: var(--accent-blue);
}

.case-step.result p {
    color: var(--text-main);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background-color: var(--primary-dark);
    color: white;
    padding: 96px 0;
}

.contact-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 3rem;
}

.contact-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

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

.dot {
    width: 4px;
    height: 4px;
    background-color: #334155;
    border-radius: 50%;
}

/* Footer */
footer {
    background-color: var(--primary-darker);
    color: #94a3b8;
    padding: 32px 0;
    font-size: 0.875rem;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Responsive Design (Mobile-First Anpassungen) */
@media (min-width: 769px) {
    .col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 64px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .motto-box {
        text-align: left;
    }

    .hero-image {
        justify-content: center;
        order: -1;
    }
    
    .hero-image img {
        width: 240px;
        height: 240px;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}