/* Base styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

header {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    background: #34495e;
}

nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    text-transform: uppercase;
}

nav a:hover {
    background-color: #1abc9c;
}

.logo-image {
    padding: 20px;
    margin: 10px;
    height: 200px;
    width: 200px;
}

.logo-container {
    display: flex;
    justify-content: center;
}

footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer a {
    color: #1abc9c;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Home page styles */
.hero {
    background: url('https://images.unsplash.com/photo-1677442136019-21780ecad995?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 3rem;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 2rem 0;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    padding: 20px;
    margin: 10px;
    background: #f4f4f4;
    text-align: center;
    border-radius: 8px;
}

.feature img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

/* Contact page styles */
.contact-container {
    width: 80%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f4f4f4;
    border-radius: 8px;
}

.contact-container h1 {
    text-align: center;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    width: 100%;
    padding: 1rem;
    background: #1abc9c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

button:hover {
    background: #16a085;
}

.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    text-align: center;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Legal pages (Datenschutz/Impressum) styles */
.content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.content h1 {
    color: #2c3e50;
    border-bottom: 3px solid #1abc9c;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.content h2 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content h3 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.5rem;
}

.content a {
    color: #1abc9c;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.company-info {
    background: #fff;
    padding: 1.5rem;
    border-left: 4px solid #1abc9c;
    margin-bottom: 2rem;
}

.company-info p {
    margin: 0.5rem 0;
}
