:root {
    --primary-color: #b80000;
    --secondary-color: #d90429;
    --accent-color: #a30000;
    --text-color: #e0e0e0;
    --light-bg: #1a1a1a;
    --white: #2d2d2d;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    --dark-bg: #121212;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    margin-left: -10px;
    margin-right: 1.5rem;
    margin-top: 2px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    font-size: 1.15rem;
    position: relative;
    padding: 0.5rem 0.2rem;
    background: none;
    border-radius: 0;
    box-shadow: none;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: 0;
}

.nav-links a:hover {
    color: var(--secondary-color);
    background: none;
    border-bottom: none;
    box-shadow: none;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.mobile-menu.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('photo.jpg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
    background: rgba(0,0,0,0.55);
    border-radius: 18px;
    padding: 2.5rem 2rem 2rem 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.18);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: scale(1.06);
    box-shadow: 0 8px 32px rgba(52, 152, 219, 0.22);
}

.hero-logo {
    max-width: 550px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background-color: var(--light-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
}

.service-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.service-card ul {
    list-style: none;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* About Section */
.about {
    padding: 5rem 1rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background-color: var(--light-bg);
}

.contact h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3rem 1rem 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

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

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-left: 1rem;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Form Status Messages */
.form-status {
    display: none;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-status.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #c3e6cb;
    border-left: 6px solid #28a745;
}

.form-status.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #f5c6cb;
    border-left: 6px solid #dc3545;
}

.form-status.info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border: 2px solid #bee5eb;
    border-left: 6px solid #17a2b8;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Impressum Page Styles */
.impressum {
    padding: 4rem 1rem;
    background-color: var(--dark-bg);
    min-height: 100vh;
}

.impressum-content {
    max-width: 1000px;
    margin: 0 auto;
    color: var(--text-color);
    line-height: 1.8;
}

.impressum-content h1 {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.impressum-content h2 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.impressum-content h3 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.impressum-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.impressum-content a {
    color: var(--secondary-color);
    word-break: break-all;
}

.impressum-content a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
    }

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

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.1rem;
    }

    .mobile-menu {
        display: block;
    }

    .logo-img {
        height: 50px;
        margin-left: 0;
    }

    .hero {
        height: 100vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 1.5rem;
        width: 90%;
        margin: 0 auto;
    }

    .hero-logo {
        max-width: 280px;
        margin-bottom: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info {
        width: 100%;
    }

    .contact-form {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .hero-logo {
        max-width: 220px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .service-card i {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
    }

    .submit-button {
        padding: 0.8rem 1.5rem;
    }
}

/* Verbesserte Touch-Targets für mobile Geräte */
@media (hover: none) {
    .nav-links a,
    .cta-button,
    .submit-button {
        padding: 0.8rem 1.2rem;
    }

    .service-card {
        cursor: default;
    }

    .service-card:hover {
        transform: none;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 1rem;
    background-color: var(--light-bg);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card span {
    font-weight: bold;
    color: var(--secondary-color);
}

.service-card i, .feature i, .contact-item i, .testimonial-card span {
    color: var(--secondary-color);
} 