/* CSS Variablen für einfache Farbanpassung */
:root {
    --primary-color: #007bff; /* Ein lebhaftes Blau */
    --secondary-color: #0a2342; /* Ein tiefes Marineblau */
    --accent-color: #00d4ff; /* Ein helles Cyan als Akzent */
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --background-color: #ffffff;
    --light-gray-bg: #f4f7f6;
    --dark-gray-bg: #2c3e50; /* Dunklerer Hintergrund für Kontrast */
    --font-primary: 'Roboto', sans-serif;
    --font-headings: 'Orbitron', sans-serif; /* Futuristischer Font für Überschriften */
    --container-width: 90%;
    --max-container-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Basis-Reset und globale Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: var(--container-width);
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 15px; /* Kleiner Padding für seitlichen Abstand */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3 {
    font-family: var(--font-headings);
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.8rem; /* Responsive Schriftgröße unten anpassen */
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.section-padding {
    padding: 60px 0;
}

.section-padding-bg {
    padding: 60px 0;
    background-color: var(--light-gray-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.section-title-left {
    text-align: left;
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

/* Header und Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 80px;
}

.logo {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--primary-color);
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
#hero {
    position: relative;
    height: calc(100vh - 80px); /* Höhe des Viewports minus Headerhöhe */
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--light-text-color);
    overflow: hidden; /* Verhindert, dass das Bild überläuft */
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild bedeckt den Container, wird ggf. beschnitten */
    filter: brightness(0.6) contrast(1.1); /* Dunkelt das Bild etwas ab für bessere Textlesbarkeit */
}

.hero-content {
    position: relative; /* Stellt sicher, dass der Inhalt über dem Overlay liegt */
    z-index: 1;
    max-width: 700px;
    text-align: left;
    padding: 2rem;
    background-color: rgba(10, 35, 66, 0.6); /* Halbtransparenter Hintergrund für Text */
    border-radius: var(--border-radius);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--light-text-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text-color);
    font-weight: 300;
}

.cta-button, .cta-button-secondary {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-3px);
}


/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-item img {
    width: 100%;
    height: 200px; /* Feste Höhe für die Bilder */
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.95rem;
    color: #555;
}

.service-item-highlight {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

.service-item-highlight h3 {
    color: var(--accent-color);
}
.service-item-highlight p {
    color: var(--light-gray-bg);
}


/* About Us Section */
#about {
    background-color: var(--light-gray-bg); /* Leichter Hintergrund für Abwechslung */
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
    max-width: 500px; /* Begrenzt die Bildgröße */
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    padding: 20px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-headings);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.step h3 {
    margin-bottom: 10px;
}

/* Contact Section */
#contact {
    background-color: var(--dark-gray-bg);
    color: var(--light-text-color);
}

#contact .section-title, #contact .contact-intro {
    color: var(--light-text-color);
}

.contact-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-gray-bg);
    padding: 30px 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

footer p {
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-color);
    text-decoration: underline;
}

footer a:hover {
    color: var(--light-text-color);
}

.social-media a {
    margin: 0 8px;
    display: inline-block; /* Für korrekte Darstellung der Platzhalter */
}
.social-media img {
    border-radius: 50%; /* Macht die Platzhalter-Bilder rund */
    transition: transform 0.3s ease;
}
.social-media img:hover {
    transform: scale(1.1);
}


/* Responsive Anpassungen */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        margin-bottom: 30px;
    }
    .section-title-left {
        text-align: center;
    }
}

@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }
    header nav ul {
        margin-top: 1rem;
        flex-wrap: wrap; /* Erlaubt Umbruch bei vielen Menüpunkten */
        justify-content: center;
    }
    header nav ul li {
        margin: 5px 10px;
    }
    #hero {
        height: auto; /* Passt Höhe an Inhalt an */
        padding: 80px 0; /* Mehr Padding für kleinere Screens */
    }
    .hero-content {
        max-width: 90%;
        padding: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    h1 { font-size: 2.2rem; }
    h2, .section-title { font-size: 1.8rem; }
    .services-grid {
        grid-template-columns: 1fr; /* Einspaltig auf kleinen Geräten */
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .about-image {
        max-width: 80%; /* Bild etwas kleiner machen */
        margin: 0 auto;
    }
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    header nav ul li a {
        font-size: 0.9rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .cta-button, .cta-button-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .section-padding, .section-padding-bg {
        padding: 40px 0;
    }
    .container {
        width: 95%;
    }
}