/* ============================================
   IT Service Behnke - Stylesheet
   Design: Modern, Professional, Accessible
   Colors: Blue (#1a5276), White, Orange (#e67e22)
   ============================================ */

:root {
    --primary-blue: #1a5276;
    --dark-blue: #0d2d47;
    --light-blue: #2874a6;
    --accent-orange: #e67e22;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --dark-gray: #333333;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
    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: var(--text-color);
    background-color: var(--white);
}

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

a:hover,
a:focus {
    color: var(--accent-orange);
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ============================================
   Accessibility
   ============================================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
}

/* ============================================
   Container & Layout
   ============================================ */

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

/* ============================================
   Navigation Bar
   ============================================ */

.navbar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
    border-bottom-color: var(--accent-orange);
    outline: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    color: var(--white);
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 4px 0;
    transition: 0.3s;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 60px 20px;
}

/* Innerer Container: zentriert den Inhalt auf großen Bildschirmen */
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

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

.hero h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.cta-button:hover,
.cta-button:focus {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.4);
    outline: none;
}

.hero-image {
    flex-shrink: 0;
    text-align: center;
}

.hero-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.25);
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 60px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(26, 82, 118, 0.15);
    transform: translateY(-4px);
    border-color: var(--accent-orange);
}

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

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

.rating-info {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.author {
    font-weight: 600;
    color: var(--primary-blue);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 60px 20px;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-info a {
    color: var(--primary-blue);
    font-weight: 500;
}

.opening-hours {
    list-style: none;
    margin-top: 1rem;
}

.opening-hours li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-nav {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--white);
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    border-bottom-color: var(--accent-orange);
    outline: none;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--dark-blue);
        gap: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 10px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-inner {
        flex-direction: column;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image img {
        width: 220px;
        height: 220px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

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

    .tagline {
        font-size: 1rem;
    }

    .description {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .contact-info {
        padding: 20px;
    }

    .navbar-container {
        padding: 0 15px;
    }

    .hero-image img {
        width: 180px;
        height: 180px;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .navbar,
    .footer,
    .skip-link {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
