/* ============================================
   KRE Solutions - Minimalistisches CSS
   ============================================ */

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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #0066cc;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background-color: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.9;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 8rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-content .tagline {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-content .description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 2rem auto 3rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.cta-button:hover {
    background-color: #0052a3;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   FEATURED SECTION
   ============================================ */

.featured {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.featured h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.project-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.project-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    color: #0052a3;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 6rem 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.contact-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-box {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-label {
    color: #666;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.email-link {
    font-size: 1.3rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.email-link:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 4rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

footer p {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.divider {
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .tagline {
        font-size: 1.2rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .featured h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .featured,
    .contact {
        padding: 3rem 0;
    }

    .project-card {
        padding: 1.5rem;
    }

    footer .container {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        padding: 0.7rem 2rem;
        font-size: 0.9rem;
    }
}
