/* --- General Styling --- */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: #2c3e50;
}

hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 50px auto;
    max-width: 1100px;
}

/* --- Header --- */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    height: 60px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline;
}

header nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    padding: 10px 15px;
    transition: color 0.3s;
}

header nav a:hover {
    color: #c0392b;
}

/* --- Hero Section --- */
.hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0;
    color: white;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin: 10px 0 0;
    color: white;
    font-weight: 400;
}

/* --- Services Section --- */
.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
    margin-top: 50px;
}

.service-item {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.service-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-item h3 {
    margin: 20px 0 10px;
    color: #9e2a2b; /* <-- ANGEPASSTE FARBE */
    font-size: 1.4rem;
}

.service-item p {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* --- Location Section --- */
#location h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.map-container iframe {
    border: 5px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

/* --- Contact Section --- */
#contact h2 {
    text-align: center;
    font-size: 2rem;
}

#contact > p {
    text-align: left;
    font-size: 0.9rem;
    margin-top: -15px;
}

.contact-flex {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
}

.contact-form {
    flex: 1;
}

.contact-image {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
}

.contact-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-name {
    display: flex;
    gap: 15px;
}

.name-field {
    flex: 1;
}

.agreement {
    display: flex;
    align-items: flex-start;
    font-size: 0.8rem;
}

.agreement input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

button[type="submit"] {
    background-color: #4a4a4a;
    color: white;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #c0392b;
}

.success-message, .error-message {
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}
.success-message {
    color: #27ae60;
    background-color: #e9f7ef;
}
.error-message {
    color: #c0392b;
    background-color: #fbeae5;
}


/* --- Footer --- */
footer {
    background-color: #4a4a4a;
    color: #ecf0f1;
    text-align: center;
}

.footer-content {
    padding: 40px 20px 30px 20px;
}

.footer-content p {
    margin: 5px 0;
    line-height: 1.7;
}

.footer-icons-container {
    background-color: #333;
    padding: 15px 0;
    line-height: 0;
}

.footer-icons-container img {
    max-width: 600px;
    width: 100%;
    height: auto;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    .services-grid, .contact-flex {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .form-name {
        flex-direction: column;
        gap: 0;
    }
    .name-field:last-child {
        margin-top: 20px;
    }
}