/* Allgemeine Stile */
body {
    font-family: 'Poppins', sans-serif;
    color: #333333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Header und Navigation */
header {
    background-color: #ffffff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 10px;
}

nav ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-switcher button {
    background: none;
    border: none;
    color: #333333;
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.language-switcher button:hover {
    color: #007bff;
}

.theme-switcher {
    position: absolute;
    top: 20px;
    left: 20px;
}

.theme-switcher button {
    background: none;
    border: none;
    color: #333333;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.theme-switcher button:hover {
    color: #007bff;
}

/* Hero-Bereich */
.hero {
    text-align: center;
    padding: 150px 20px;
    background: url('images/tape2.jpg') no-repeat center center/cover;
    color: #070000;
    animation: fadeIn 2s ease-in-out;
}

.hero .site-title {
    font-family: 'Cinzel Decorative', sans-serif;
    font-size: 200px;
    margin: 0 0 20px;
    color: #f6ea0c;
    text-shadow: 2px 2px 8px rgba(226, 7, 7, 0.5);
    border: 3px solid #f00f0f;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(247, 5, 5, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.hero p {
    font-size: 24px;
    margin: 0 0 30px;
}

.hero button {
    font-size: 18px;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero button:hover {
    background-color: #0056b3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Sektionen */
section {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}

section:nth-of-type(odd) {
    background-color: #f8f9fa;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #007bff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

section p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Demo-Bereich */
.demo-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.demo {
    margin: 15px;
    max-width: 300px;
    animation: slideIn 1s ease-in-out;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.demo img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.demo:hover img {
    transform: scale(1.1);
}

.demo audio {
    width: 100%;
    border: none;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Formular */
form {
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
    background-color: #ffffff;
    padding: 20px 20px 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #007bff;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    color: #333333;
    border-radius: 5px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

form textarea {
    height: 100px;
}

form button {
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

form button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333333;
    color: #ffffff;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.8);
}

footer p {
    margin: 0;
    font-size: 14px;
}

@keyframes bounceIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hero h1, .hero p, .hero button {
    animation: bounceIn 1s ease-in-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.section-title {
    animation: slideInLeft 1s ease-in-out;
}

/* Hintergrundmusik */
audio#background-music {
    display: none;
}

/* Medienabfragen für bessere Responsivität */
@media (max-width: 768px) {
    .hero .site-title {
        font-size: 60px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero {
        padding: 100px 20px;
    }

    nav ul {
        flex-direction: column;
    }

    .demo-container {
        flex-direction: column;
    }
}
