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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

header {
    background: #003366;
    color: white;
    padding: 20px 0;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

nav h1 {
    font-size: 36px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    background: #e0e0e0;
    padding: 60px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    font-variant: small-caps;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}

.slogan-block {
    display: flex;
    align-items: center;
    gap: 20px; /* Abstand zwischen Bild und Text */
    margin-top: 30px;
    justify-content: center; /* Zentriert Bild + Text zusammen */
    flex-wrap: wrap; /* für mobile */
}

.slogan-block img {
    max-width: 400px;   /* kleiner für Desktop */
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: contain;
}

.slogan-text {
    max-width: 400px;
    font-style: italic;
    font-size: 16px;
    color: #444;
    margin-top: 10px;
}

.services, .contact {
    padding: 40px 20px;
}

.services h3, .contact h3 {
    text-align: center;
    margin-bottom: 30px;
}

.service-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
}

.service h4 {
    margin-bottom: 10px;
    color: #003366;
}

form {
    max-width: 500px;
    margin: auto;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .slogan-block {
    	flex-direction: column;
    	align-items: center;
    	text-align: center;
    }

    .slogan-block img {
    	max-width: 300px;
    	margin-bottom: 10px;
    }
    
    .slogan-text {
        font-size: 14px;
        max-width: 90%;
    }

    .service-box {
        flex-direction: column;
        align-items: center;
    }
}

.contact-info {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
}

.contact-info a {
    color: #003366;
    text-decoration: none;
}

