/* ===========================
   Hauptseite: Grundlayout
=========================== */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ===========================
   Flex-Container für den Hauptinhalt
=========================== */
.demo-container {
    flex: 1;
    /*padding-bottom: 120px; !* Platz für Button-Leiste und Footer *!*/
}

/* ===========================
   Button-Leiste direkt über dem Footer
=========================== */
.button-container {
    display: flex;                /* Flexbox aktivieren */
    justify-content: center;      /* Horizontal zentrieren */
    align-items: center;          /* Vertikal zentrieren */
    gap: 20px;                    /* Abstand zwischen den Buttons */
    padding: 10px 0;              /* Vertikaler Abstand */
    position: fixed;
    bottom: 40px;                 /* Über dem Footer positionieren */
    width: 100%;
    background-color: #e0e0e0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 150;
}

/* ===========================
   Button-Stil
=========================== */
.button-footer {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: rgb(0, 184, 255);
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-footer:hover {
    background-color: rgb(0, 184, 255);
    transform: translateY(-2px);
}

/* ===========================
   Fixierter Footer
=========================== */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f1f1f1;
    border-top: 2px solid #ccc;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    z-index: 100;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Text-Stil im Footer
=========================== */
#footer {
    font-weight: bold;
    color: #555;
}

/* ===========================
   Responsive Anpassungen
=========================== */
@media (max-width: 768px) {
    .button-footer {
        font-size: 14px;
        padding: 10px 16px;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
    }

    .fixed-footer {
        font-size: 12px;
    }
}
