body {
    font-family: Arial, sans-serif;
    background-image: url('../images/background/background.png'); /* Pfad zum neuen Hintergrundbild */
    background-size: cover;
    background-attachment: fixed;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    display: flex;
    flex: 1;
}

.sidebar {
    background-color: rgba(0, 0, 0, 0.8);
    width: 250px;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    position: fixed;
    height: 100%;
}

.sidebar .logo h1 {
    font-size: 1.5em;
    text-align: center;
    text-shadow: 2px 2px 4px #000;
    color: #f0f0f0;
}

.sidebar nav ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.sidebar nav ul li {
    margin: 15px 0;
}

.sidebar nav ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sidebar nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.content {
    margin-left: 270px; /* Platz für die Sidebar */
    padding: 20px;
    flex: 1;
}

.hero {
    background: rgba(0, 0, 0, 0.6);
    padding: 50px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #000;
    max-width: 85%; /* Verkleinerung der Breite um 15% */
    margin-left: auto;
    margin-right: auto;
}

.hero h2 {
    font-size: 3em;
    margin: 0;
    text-shadow: 2px 2px 4px #000;
}

.hero p {
    font-size: 1.5em;
    text-shadow: 2px 2px 4px #000;
}

.welcome {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.welcome h3 {
    margin-top: 0;
    text-shadow: 2px 2px 4px #000;
    text-align: center; /* Zentriert die Überschrift */
}

.welcome p {
    text-align: justify; /* Formatiert den Text für bessere Lesbarkeit */
}

footer {
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
    text-shadow: 2px 2px 4px #000;
    margin-top: auto;
    width: 100%;
}

/* Neue Stile für die Terminseite */
.termine {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    margin-bottom: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.termine h3 {
    margin-top: 0;
    text-shadow: 2px 2px 4px #000;
    text-align: center;
}

.termine-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.termin {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    text-align: left;
}

.termin h4 {
    margin: 0;
    font-size: 1.5em;
    text-shadow: 2px 2px 4px #000;
    color: #f0f0f0;
}

.termin p {
    margin: 5px 0;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px #000;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
}

.table th, .table td {
    border: 1px solid #f0f0f0;
    padding: 10px;
    text-align: left;
}

.table th {
    background-color: rgba(0, 0, 0, 0.8);
}

.table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}


.heldenbogen {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.heldenbogen h3 {
    margin-top: 0;
    text-shadow: 2px 2px 4px #000;
}

.heldenbogen form {
    margin-bottom: 20px;
}

.heldenbogen select, .heldenbogen button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin: 5px 0;
}

.heldenbogen ul {
    list-style-type: none;
    padding: 0;
}

.heldenbogen ul li {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.heldenbogen ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
}

.heldenbogen ul li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.abenteuer {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.abenteuer h3 {
    margin-top: 0;
    text-shadow: 2px 2px 4px #000;
}

.abenteuer form {
    margin-bottom: 20px;
}

.abenteuer select, .abenteuer button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin: 5px 0;
}

.geschichte h2 {
    font-size: 2em;
    text-shadow: 2px 2px 4px #000;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.geschichte p {
    margin: 10px 0;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px #000;
    text-align: justify;
}

.geschichte .meister {
    font-style: italic;
    color: #b0b0b0;
}

.abenteuer ul {
    list-style-type: none;
    padding: 0;
}

.abenteuer ul li {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.abenteuer ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
}

.abenteuer ul li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.kontakt {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.kontakt form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontakt label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.kontakt input[type="text"],
.kontakt textarea,
.kontakt input[type="file"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin-top: 5px;
    box-sizing: border-box;
}

.kontakt textarea {
    height: 150px;
}

.kontakt button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100px;
    align-self: flex-start;
}

.kontakt button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.kontakt input[type="checkbox"] {
    margin-right: 10px;
}

.kontakt .checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kontakt .honeypot-label {
    display: none;
}

/* Neue Stile für die realistischere Hand-Schattenanimation */
.shadow-hand {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    box-shadow: 
        -30px -50px 0 0 rgba(0, 0, 0, 0.2),  /* Daumen */
        0 -70px 0 0 rgba(0, 0, 0, 0.2),      /* Zeigefinger */
        30px -90px 0 0 rgba(0, 0, 0, 0.2),   /* Mittelfinger */
        60px -70px 0 0 rgba(0, 0, 0, 0.2),   /* Ringfinger */
        90px -50px 0 0 rgba(0, 0, 0, 0.2),   /* kleiner Finger */
        45px -20px 0 0 rgba(0, 0, 0, 0.2);   /* Handfläche */
    animation: moveHand 10s infinite;
}

@keyframes moveHand {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    50% { transform: translate(200px, 200px) scale(1.2); opacity: 1; }
    100% { transform: translate(0, 0) scale(1); opacity: 0; }
}

.downloads {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.downloads h3 {
    margin-top: 0;
    text-shadow: 2px 2px 4px #000;
}

.download-box {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    margin-top: 20px;
    text-align: left;
}

details {
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 10px;
    transition: background-color 0.3s;
}

summary {
    font-weight: bold;
    cursor: pointer;
    color: #f0f0f0;
}

details[open] summary {
    background: rgba(255, 255, 255, 0.2);
}

details ul {
    list-style-type: none;
    padding: 0;
}

details ul li {
    padding: 5px 0;
}

details ul li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s;
}

details ul li a:hover {
    color: #ff0;
}
