/* Base styles */
:root {
    --primary-color: #e67e22;
    --secondary-color: #2c3e50;
    --accent-color: #007bff;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Services section */
.services {
    background-color: white;
}

.services h2, .about h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.services h2::after, .about h2::after, .contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About section */
.about {
    background-color: #f5f5f5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-placeholder {
    background-color: #e0e0e0;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #777;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact section */
.contact {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 5px;
}

/* Impressum section */
.impressum {
    background-color: white;
    padding: 5rem 0;
}

.impressum-content {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.impressum-content h3 {
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

.impressum-content h3:first-child {
    margin-top: 0;
}

.back-to-home {
    margin-top: 2rem;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ddd;
}

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

.footer-contact p {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Email protection styling */
.email-protected {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    position: relative;
}

.email-protected:hover {
    color: #007bff;
}

.email-protected::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Responsive styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav {
        width: 100%;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0;
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .service-grid, .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Add to improve rendering performance */
img, video {
  max-width: 100%;
  height: auto;
}

/* Add for better font rendering */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}