/* Allgemeine Stile */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #ff9800;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --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: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 20px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 15px 0;
    border-top: 10px solid var(--primary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px; /* 200% größer als vorher (50px) */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background-color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card-link {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    height: 100%;
}

.service-card-link:hover {
    color: var(--text-color);
}

.service-icon img {
    width: 80px;
    height: 80px;
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-content {
    flex: 1;
    padding-right: 40px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

/* Projects Section */
.projects {
    background-color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3, .project-card p {
    padding: 0 20px;
}

.project-card h3 {
    margin-top: 20px;
}

.project-card p {
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-links ul {
    display: flex;
    list-style: none;
}

.footer-links ul li {
    margin-right: 20px;
}

.footer-links ul li a {
    color: white;
}

.footer-social a {
    color: white;
    margin-left: 15px;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container, .about .container {
        flex-direction: column;
    }
    
    .hero-content, .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--box-shadow);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-links, .footer-social {
        margin-bottom: 20px;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .footer-social a {
        margin: 0 10px;
    }
}

/* Technische Hintergründe */

/* Page Header */
.page-header {
    padding-top: 150px;
    padding-bottom: 50px;
    background-color: var(--light-color);
}

.page-header h1 {
    text-align: left;
    color: var(--secondary-color);
}

/* Page Content */
.page-content {
    padding-top: 200px;
}


/* Service Detail */
.service-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.service-text {
    max-width: 800px;
}

.service-text h2 {
    text-align: left;
    color: var(--secondary-color);
}

.service-text h3 {
    text-align: left;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.service-text ul li {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .service-detail {
        flex-direction: row;
        align-items: flex-start;
    }

    .service-image {
        flex: 1;
    }

    .service-text {
        flex: 2;
    }
}

.services {
  background-image: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg stroke='%23003366' stroke-opacity='0.06' stroke-width='1' fill='none'%3E%3Cpath d='M0 40 H160 M0 80 H160 M0 120 H160'/%3E%3Cpath d='M40 0 V160 M80 0 V160 M120 0 V160'/%3E%3C/g%3E%3Cg fill='%230056b3' fill-opacity='0.05'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='80' cy='80' r='3'/%3E%3Ccircle cx='120' cy='120' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat;
  background-size: cover, 160px 160px;
  background-position: center, left top;
}

.about {
  background-image: linear-gradient(180deg, rgba(248,249,250,1) 0%, rgba(255,255,255,1) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg stroke='%230056b3' stroke-opacity='0.08' stroke-width='1.5' fill='none'%3E%3Ccircle cx='80' cy='80' r='30'/%3E%3Cpath d='M80 50 V110 M50 80 H110'/%3E%3Ccircle cx='40' cy='120' r='16'/%3E%3Ccircle cx='120' cy='40' r='16'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat;
  background-size: cover, 160px 160px;
  background-position: center, left top;
}

.projects {
  background-image: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg stroke='%230056b3' stroke-opacity='0.06' stroke-width='1.5' fill='none'%3E%3Cpath d='M0 80 H160' stroke-dasharray='6 6'/%3E%3Cpath d='M80 0 V160' stroke-dasharray='6 6'/%3E%3Ccircle cx='80' cy='80' r='8'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat;
  background-size: cover, 160px 160px;
  background-position: center, left top;
}

.contact {
  background-image: linear-gradient(180deg, rgba(240,247,255,0.9) 0%, rgba(255,255,255,0.95) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cg stroke='%230056b3' stroke-opacity='0.07' stroke-width='2' fill='none'%3E%3Cpath d='M10 100 H190' stroke-dasharray='6 6'/%3E%3Cpath d='M100 10 V190' stroke-dasharray='6 6'/%3E%3Ccircle cx='100' cy='100' r='10'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat;
  background-size: cover, 200px 200px;
  background-position: center, left top;
}
