body {
    font-family: 'Arial', sans-serif;
    background-color: white;
    color: black;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: white;
    padding: 20px;
    text-align: center;
}

.logo {
    max-width: 200px; /* oder eine andere Größe, die gut passt */
    height: auto;
}

h1 {
    margin: 0;
}

h2 {
    font-family: 'Montserrat', 'Arial', sans-serif; /* oder eine andere moderne Schriftart */
    font-size: 2.5em; /* Anpassen gemäß dem gewünschten Design */
    font-weight: 700; /* Fett, aber nicht zu dick */
    text-align: center;
    color: black;
    margin-bottom: 40px;
    text-transform: uppercase; /* Optional: Großbuchstaben */
    letter-spacing: 1px; /* Optional: Buchstabenabstand vergrößern */
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #6f92b0;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

main {
    flex: 1;
    padding: 20px;
}

section {
    max-width: 800px;
    margin: auto;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
    background-color: #e6e6e6;
    padding: 10px;
    border-radius: 5px;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.service-item h3 {
    color: #6f92b0;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 14px;
    margin-bottom: 15px;
}

.service-link {
    color: #6f92b0;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid #6f92b0;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.service-link:hover {
    background-color: #6f92b0;
    color: white;
}


.about-us {
    padding: 20px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.about-text {
    flex: 1;
    min-width: 250px;
}

.about-image {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    .about-image {
        order: -1;
    }
}



.ebook-section {
    padding: 40px 0;
    background-color: #f4f4f4;
    text-align: center;
    border-radius: 25px;
}

.ebook-content {
    max-width: 600px;
    margin: auto;
}

.ebook-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.ebook-form input[type="email"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #6f92b0;
    border-radius: 4px 0 0 4px;
    outline: none;
    min-width: 200px;
}

.ebook-form button {
    padding: 10px 20px;
    background-color: #6f92b0;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ebook-form button:hover {
    background-color: #4c6b89;
}



.contact {
    padding: 20px 0;
    background-color: white;
}

.contact-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.contact-email {
    color: #6f92b0;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #6f92b0;
    border-radius: 4px;
    margin-top: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.contact-email:hover {
    background-color: #6f92b0;
    color: white;
}






footer {
    background-color: #6f92b0;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: relative; /* For pseudo-element positioning */
    font-size: 0.9em; /* Slightly smaller text for the footer */
    line-height: 1.5; /* Better readability */
}

footer p {
    margin: 0;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white line */
}

.footer-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px dotted white;
    transition: color 0.3s, border-color 0.3s;
}

.footer-link:hover {
    color: #e6e6e6;
    border-color: #e6e6e6;
}