/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url("background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Header Styling */
header {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Logo links, Menü rechts */
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img {
    max-height: 100px;
    margin-left: 0; /* Logo bleibt links */
}

/* Navigation Styling */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
}

nav ul li a.cta {
    background-color: #8CA4BC;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

nav ul li a.cta:hover {
    background-color: #6F8DA1;
}

/* Stil für den aktiven Link */
nav ul li a.active {
    color: #6F8DA1;
    font-weight: bold;
    border-bottom: 2px solid #6F8DA1;
}

/* Hamburger Menü für mobile Ansicht */
.menu-icon {
    display: none; /* Standardmäßig ausgeblendet */
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto; /* Rechts ausgerichtet */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .menu-icon {
        display: block; /* Hamburger-Menü wird sichtbar */
        margin-right: 10px; /* Etwas Abstand zum rechten Rand */
    }

    nav ul {
        display: none; /* Versteckt Navigation standardmäßig */
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 120px; /* Unterhalb des Headers */
        left: 0; /* Links ausgerichtet */
        width: 100%; /* Volle Breite */
        text-align: left; /* Texte links ausgerichtet */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    }

    nav ul.show {
        display: flex; /* Navigation sichtbar */
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        padding: 10px 15px;
    }
}

/* Hero Section Styling */
.hero {
    text-align: center;
    padding: 50px;
    background-color: rgba(140, 164, 188, 0.8);
    color: black;
}

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

.hero p {
    font-size: 1.2rem;
}

/* Body Layout */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    color: #ffffff;
    background-image: url(img/background-3.jpg);
}

.container .content {
    flex: 1;
    margin-right: 20px;
}

.container .content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.container .content p {
    font-size: 1.2rem;
}

.container .image {
    flex: 0.5;
}

.container .image img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Footer Styling */
footer {
    background-color: #89939E;
    color: white;
    padding: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    margin: 10px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.social-media a {
    color: white;
    text-decoration: none;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #0b0d0e;
}

/* Newsletter Styling */
footer form {
    display: flex;
    flex-direction: column;
}

footer input[type="email"] {
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

footer button {
    background-color: #8CA4BC;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

footer button:hover {
    background-color: #6F8DA1;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 10px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin: 20px 0;
    }

    footer form {
        align-items: center;
    }
}

.apps {
    max-width: 5000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.apps_columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.apps_column {
    flex: 1;
    padding: 0%;
    text-align: center;
}

/* Responsive Startseite */
@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .container .content h2 {
        font-size: 1.8rem;
    }

    .container .content p {
        font-size: 1rem;
    }

    .container .image img {
        max-width: 80%;
        height: auto;
    }

    .three-column .apps {
        padding: 20px;
        text-align: center;
    }

    .three-column .apps h2 {
        font-size: 2rem;
    }

    .three-column .apps_columns {
        flex-direction: column;
        gap: 20px;
    }

    .three-column .apps_column {
        text-align: center;
    }

    .three-column .apps_column img {
        max-width: 50px;
        height: auto;
    }

    .three-column .apps_column h3 {
        font-size: 1.5rem;
    }

    .three-column .apps_column p {
        font-size: 1rem;
    }

    .client-review .container {
        text-align: center;
        padding: 20px;
    }

    .client-review h3 {
        font-size: 1.8rem;
    }

    .client-review p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .container .content h2 {
        font-size: 1.5rem;
    }

    .container .content p {
        font-size: 0.9rem;
    }

    .three-column .apps h2 {
        font-size: 1.5rem;
    }

    .three-column .apps_column img {
        max-width: 40px;
    }

    .three-column .apps_column h3 {
        font-size: 1.2rem;
    }

    .three-column .apps_column p {
        font-size: 0.9rem;
    }

    .client-review h3 {
        font-size: 1.5rem;
    }

    .client-review p {
        font-size: 0.9rem;
    }
}
