* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}


/* Abstand zwischen Menü und Header weiter vergrößern */
header {
    background: linear-gradient(90deg, #f8f6f6, #f0eded);
    text-align: center;
    padding: 40px 0; /* Anpassung des Paddings für ein kompakteres Design */
    margin-top: 30px; /* Abstand vom Sticky-Menü zum Header */
    color: black; /* Schriftfarbe auf Schwarz setzen */
    max-width: 1200px;
    margin: 70px auto 0 auto; /* Zentriere den Header */
    border-radius: 8px; /* Abrundung entfernen */
    box-shadow: none; /* Entferne den Schatten */

}


header h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: black; /* Schriftfarbe auf Schwarz setzen */
}

header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0;
    color: black; /* Schriftfarbe auf Schwarz setzen */
}

/* Optionale Anpassung des Logos */
header img {
    max-width: 150px;
    margin-bottom: 20px;
}

section {
    padding: 60px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

section img {
    max-width: 40%;
    height: auto;
	border-radius: 15px; /* Hier den Radius anpassen, um die Rundung zu steuern */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Schatten für mehr Effekt */
}

.content {
    max-width: 50%;
}

.content h2 {
    color: #ac0001;
    margin-bottom: 20px;
}

.content p, .content ul, .content ol {
    margin-bottom: 20px;
}

button, .cta-button {
    background-color: #ac0001;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

button:hover, .cta-button:hover {
    background-color: #990001;
}

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

ul li, ol li {
    margin-bottom: 10px;
}

.faq {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    background-color: #ac0001;
    color: white;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
}

.faq-answer {
    padding: 15px;
    background-color: #f7f7f7;
    display: none;
}

footer {
    background-color: #ac0001;
    text-align: center;
    padding: 5px 20px;
    color: white;
    position: relative;
}

footer p {
    margin: 10px 0;
}

.app-buttons img {
    max-width: 150px;
    margin: 20px;
}

/* Scroll-to-Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #ac0001;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
}

#scrollTopBtn:hover {
    background-color: #990001;
}

/* Active section highlighting */
section.active {
    background-color: #fce5e3;
}

.demo-section {
    background-color: #ac0001;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    color: white;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.demo-section:hover {
    background-color: #fce5e3;
    color: #333; /* Textfarbe wird dunkler */
}
.demo-section:hover .cta-button {
    color: #ac0001; /* Button bleibt im selben Stil */
}

.demo-section:hover .demo-content h2,
.demo-section:hover .demo-content p {
    color: #333; /* Text wird dunkler */
}

.demo-section.active {
    background-color: #fce5e3; /* Gleiche Hintergrundfarbe wie beim Hover */
}

.demo-section.active .demo-content h2,
.demo-section.active .demo-content p {
    color: #333; /* Auch hier Text dunkler machen */
}

.demo-section.active .cta-button {
    color: #ac0001; /* Button-Farbe bleibt konsistent */
}

.demo-content {
    max-width: 60%;
}

.demo-slider {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.slider-controls {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 10px;
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.slider-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}
.slider-caption {
    margin-top: 10px;
    text-align: center;
    color: white; /* Ursprüngliche Farbe */
    font-size: 14px;
    transition: color 0.3s ease; /* Füge eine Transition hinzu für den sanften Übergang */
}

/* Anpassung beim Hover */
.demo-section:hover .slider-caption {
    color: #333; /* Caption-Text wird dunkler */
}

.demo-section.active .slider-caption {
    color: #333; /* Auch beim aktiven Zustand dunkler */
}

/* Inhalt des Demo-Abschnitts */
.demo-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.demo-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.cta-button {
    background-color: white;
    color: #ac0001;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #f5f5f5;
    color: #ac0001;
    transition: background-color 0.3s;
}

/* QR-Code Styling */
.demo-qr img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    /* Flex auf mobilen Geräten stacken */
    section {
        flex-direction: column;
        align-items: center;
    }

    /* Bilder skalieren für mobile */
    section img {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    /* Text zentrieren für mobile */
    .content {
        max-width: 100%;
        text-align: center;
    }

    /* Schriften und Abstände für mobile Geräte */
    .content h2 {
        font-size: 20px;
    }

    .content p {
        font-size: 14px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    /* Slider für mobile Ansicht */
    .demo-slider {
        width: 100%;
    }

    .slider-wrapper {
        width: 100%;
    }

    /* Footer Anpassungen */
    footer {
        padding: 20px;
    }
}

/* Styles for the sticky menu */

.menu {
    background-color: #ac0001;
    color: white;
    padding: 0px 20px; /* Weniger Padding, um das Menü kompakter zu machen */
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Schatten für das Sticky Menü */
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    justify-content: space-between; /* Verteilung des Logos und der Links */
}

.menu-logo {
    max-height: 80px;  /* Begrenze die Höhe des Logos */
    width: auto;
    vertical-align: middle;
    margin-right: 20px; /* Abstand zwischen Logo und Menü-Links */
    display: inline-block;
}


.menu ul {
    display: inline-block;
    vertical-align: middle;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline;
    margin: 0 15px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

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

/* Add padding to avoid overlapping with sticky menu */
body {
    padding-top: 80px; /* Adjust this based on the menu height */
}

/* Hamburger Menu */
.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .menu ul {
        display: none;
        flex-direction: column;
        background-color: #ac0001;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
    }

    .menu-icon {
        display: block;
        color: white;
        padding: 10px 20px;
    }

    .menu ul.show {
        display: flex;
    }

    .menu li {
        text-align: center;
        margin: 10px 0;
    }

    /* Verkleinere das Logo für mobile Geräte */
    .menu-logo {
        max-height: 50px;
    }
}

/* Verhindere Überlappung mit dem Seiteninhalt */
body {
    padding-top: 70px; /* Platz für das Sticky Menü schaffen */
}
.primary-cta {
    background-color: #ff8c00;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
}

.primary-cta:hover {
    background-color: #e67e22;
}
.cta-section {
    text-align: center;
    background-color: #f2f2f2;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 10px;
}
