/* Grundlegende Einstellungen und Body-Styles */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #a8dffb, #ffffff);
    color: #333;
    display: flex;
    flex-direction: column;
}

body {
    overflow-y: auto;
}

/* Header-Bereich mit Logo und Animation */
header {
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 200px; /* Passe die Größe nach Bedarf an */
    opacity: 0;
    animation: logoAnimation 2s ease forwards;
}

@keyframes logoAnimation {
    0% {
        opacity: 0;
        transform: scale(0.7) rotate(-10deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Product Header Styling for grid items */
.product-header {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
}

.product-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.product-title {
    font-size: 1em;
    font-weight: bold;
    color: #333;
}

/* Container- und Grid-Styles */
.container {
    flex: 1 0 auto;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.grid-container, .features-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.grid-item {
    position: relative;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    animation: zoomInOut 30s ease-in-out infinite;
}

@keyframes zoomInOut {
    0% {
        background-size: 100%;
    }
    50% {
        background-size: 110%;
    }
    100% {
        background-size: 100%;
    }
}

.overlay-text {
    position: absolute;
    bottom: 60px;
    background-color: rgba(255,255,255,0.5);
    width: 90%;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.85em;
    color: #333;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.app-button {
    padding: 8px 12px;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}

/* Custom button colors for product fields */
.btn-passwort {
    background-color: #2194dd !important;
}

.btn-start {
    background-color: #2eb959 !important;
}

.btn-demo {
    background-color: #2eb959 !important;
}

/* Feature-Items Styling */
.feature-item {
    background-color: rgba(255,255,255,0.8);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 0.9em;
    color: #333;
    text-align: center;
}

/* Footer-Styles */
.footer {
    flex-shrink: 0;
    width: 100%;
    background-color: white;
    text-align: center;
    padding: 8px 5px;
    font-size: 0.8em;
    border-top: 1px solid #ccc;
    box-sizing: border-box;
}

.footer a {
    color: #333;
    text-decoration: none;
    margin: 0 5px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 600px) {
    .grid-container,
    .features-container {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 10px;
    }
    .footer {
        font-size: 0.7em;
    }
}
