/* Bestehendes CSS optimieren */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
}



/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #e0e0e0;
    color: #333;
}
header {
    background: linear-gradient(to bottom right, #4e73df, #1cc88a);
    color: #fff;
    text-align: left;
    padding: 5rem;
    height: 300px;
    border: 1px solid #ccc;
}
header h1 {
    margin-bottom: 0.5rem;
    font-size: 3rem;
    animation: fadeIn 1.5s;
}
header p {
    font-size: 1.2rem;
    animation: fadeIn 2s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
section {
    padding: 2rem;
    text-align: left;
    background-color: #f4f4f4;
    margin: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.specs {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.spec-item {
    padding: 1rem;
    margin: 0.5rem;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
}
footer {
    background-color: #222;
    color: #fff;
    padding: 1rem;
    text-align: center;
}
footer a {
    color: #bcbcbc;
    text-decoration: none;
}

header {
    background: url('header2.png') no-repeat center center/cover;
    color: #fff;
    text-align: left;
    padding: 5rem;
    height: 300px;
    border: 1px solid #ccc;
    position: relative;
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 3rem;
    opacity: 0; /* Startzustand für Animation */
    position: relative;
}

header p {
    font-size: 1.2rem;
    opacity: 0; /* Startzustand für Animation */
    position: relative;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Text und Bild nebeneinander positionieren */
.text-with-image {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.side-image {
    width: 200px;
    height: auto;
    border-radius: 8px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

form {
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
}

form input,
form textarea,
form button {
    width: 100%; /* Gleiche Breite für alle Felder */
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

form textarea {
    height: 150px; /* Nachrichtenfeld höher */
    resize: vertical; /* Optional: Benutzer können die Höhe ändern */
}

form button {
    background-color: #333;
    color: #fff;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #555;
}

section {
    padding: 2rem;
    margin: 20px auto;
    max-width: 80%;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

section ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 20px;
}

section ul li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}