body {
    background: linear-gradient(135deg, #2d3031, #1c1e1f 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    color: #ffffff;
    letter-spacing: 2.5px; /* Komma in Punkt geändert */
}

header {
    background: #242526;
    padding: 20px;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(105, 59, 59, 0.2);
}

section {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
    line-height: 1.6;
    font-size: 1.1em;
}

#infos {
    width: 1250px;
    margin: 40px auto;
    background: rgba(0,0,0,0.5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
    line-height: 1.6;
    font-size: 1.1em;
    text-align: center;
}
#infos h1 {
    margin: 0;
    font-weight: 700;
    color: #ff9800;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 20px;
    font-size: 2.5em;
}
h1, h2, h3 {
    margin: 0;
    font-weight: 700;
    color: #ff9800;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 20px;
    font-size: 2.5em;
}
nav {
    margin-top: 10px;
}
.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.dropdown-menu li {
    position: relative;
}
.dropdown-menu a {
    text-decoration: none;
    color: #fff;
    padding: 8px 16px;
    display: block;
    border-radius: 4px;
    transition: background 0.2s;
}
.dropdown-menu a:hover {
    background: #333;
}
.dropdown-content {
    display: none;
    position: absolute;
    background: #222;
    min-width: 140px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(201, 39, 39, 0.588);
    z-index: 1;
    top: 100%;
    left: 0;
}
.dropdown-content li a {
    color: #fff;
    padding: 10px 16px;
}
.dropdown:hover .dropdown-content {
    display: block;
}
/* --- GEÄNDERTER FOOTER-BEREICH --- */
footer {
    text-align: center;
    padding: 10px; /* Reduziert, um die vertikale Größe zu verkleinern */
    background: #000;
    color: #777;
    font-size: 1em; /* Stark reduziert, um die Größe zu verkleinern */
    margin-top: 20px; /* Reduziert */
}
footer a {
    color: #00bfff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
.kontakt-container {
    max-width: 500px;
    margin: 60px auto;
    background: rgba(0,0,0,0.7);
    padding: 40px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
}
.kontakt-form input, .kontakt-form textarea {
    width: 100%;
    border-radius: 6px;
    border: none;
    padding: 8px;
    margin-bottom: 10px;
}
.kontakt-form button {
    padding: 10px 20px;
    background: #009688;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
#releases-list {
    background: #181818;
    padding: 40px 20px;
    border-radius: 16px;
    max-width: 800px;
    margin: 40px auto;
    box-shadow: 0 4px 24px rgba(201, 39, 39, 0.588);
}
#releases-list h2 {
    color: #ff9800;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}
#releases-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#releases-list li {
    background: #232323;
    margin-bottom: 24px;
    padding: 24px 18px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(88, 18, 18, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
#releases-list li:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 24px rgba(201, 39, 39, 0.588);
}
#releases-list h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3em;
}
#releases-list p {
    color: #bbb;
    margin-bottom: 12px;
}
#releases-list a {
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
#releases-list a:hover {
    color: #fff;
    text-decoration: underline;
}
#release-details {
    background: #232323;
    max-width: 700px;
    margin: 50px auto 40px auto;
    padding: 36px 28px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
    color: #fff;
    text-align: center;
}

#release-details h2 {
    color: #ff9800;
    margin-bottom: 22px;
    font-size: 1.7em;
    letter-spacing: 1px;
}

#release-details p {
    color: #bbb;
    font-size: 1.1em;
    margin-bottom: 14px;
}

#login-section {
    max-width: 700px;
    margin: 40px auto;
    background: rgba(41, 32, 32, 0.5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
    line-height: 1.6;
    font-size: 1.1em;  
}
#login-section button {
    background: #ff5722;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
}
#login-section button:hover {
    background: #e64a19;
}
#login-section input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
}
#login-section label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}
#login-section h2 {
    margin-top: 0;
    color: #ff9800;
    letter-spacing: 1px;
}
#login-section a {
    color: #ff9800;
    text-decoration: none;
}
#login-section a:hover {
    text-decoration: underline;
}
#login-error {
    color: #ff4444;
    margin-bottom: 10px;
    font-weight: bold;
}
#login-success {
    color: #4caf50;
    margin-bottom: 10px;
    font-weight: bold;
}
nav {
    margin-top: 10px;
}
.downloads {
   max-width: 700px;
    margin: 40px auto;
    background: rgba(0,0,0,0.5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
    line-height: 1.6;
    font-size: 1.1em; 
}
.downloads h3 {
    margin-top: 0;
    color: #ff9800;
    letter-spacing: 1px;
}
.downloads a {
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
}
.downloads a:hover {
    text-decoration: underline;
}
.downloads h4 {
    margin-top: 20px;
    color: #cc340e9e;
    letter-spacing: 1px;
}
.logo {
  font-weight: bold;
  font-size: 1.5em;
}
.ADM {
  display: flexbox;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
    line-height: 1.6;
    font-size: 1.1em;
}
.downloads a {
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
    
}
.newsletter-status { 
    padding: 12px; 
    border-radius: 5px; 
    font-weight: bold; 
    margin-bottom: 20px; 
}
.status-success { 
    color: #ffffff; 
    background-color: rgba(40, 167, 69, 0.3); 
    border: 1px solid #28a745; 
}
.status-error { 
    color: #ffffff; 
    background-color: rgba(201, 39, 39, 0.3); 
    border: 1px solid #c92727; 
}
/* ============================================= */
/* STIL FÜR ALLE FORMULAR-CONTAINER              */
/* ============================================= */
.form-container {
    max-width: 700px;
    margin: 60px auto;
    padding: 30px 40px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(201, 39, 39, 0.588);
    border: 1px solid;
}

.form-container h2 {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    color: #ff9800; 
    font-size: 2em;
}

.form-container p {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container textarea,
.form-container select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background-color: rgba(0,0,0,0.5);
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-container input:focus,
.form-container textarea:focus,
.form-container select:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 8px rgba(201, 39, 39, 0.588);
}

.form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff;
}

.form-container button {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #ff9800;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.form-container button:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
}
/* ============================================= */
/* STIL FÜR DEN BEITRAGS-/NEWS-BEREICH           */
/* ============================================= */

#news {
    /* width: 1250px; <-- Wird durch Flexbox ersetzt */
    /* margin: 40px auto; <-- Wird durch Flexbox ersetzt */
    background: rgba(0,0,0,0.5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
}

#news h2 {
    text-align: center;
    color: #ff9800;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.post-entry {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #ff9800;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.3s;
}

.post-entry:hover {
    background: rgba(255, 255, 255, 0.08);
}

.post-entry h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: left;
    font-size: 1.8em;
}

.post-meta {
    font-size: 0.9em;
    color: #aaa;
    margin-bottom: 20px;
    text-align: left;
}

.post-content {
    line-height: 1.7;
    color: #e0e0e0;
    text-align: left;
}

/* ============================================= */
/* NEU: ZENTRALER FLEXBOX-CONTAINER FÜR 2 SPALTEN */
/* ============================================= */

#content-layout {
    /* Setzt die maximale Breite und zentriert den gesamten Container */
    width: 1250px;
    margin: 40px auto;
    display: flex; /* Aktiviert die Spaltenansicht */
    gap: 30px; /* Abstand zwischen den Spalten */
    align-items: flex-start; /* Spalten starten oben */
}

/* Linke Spalte (Aktuelle Beiträge) */
#news {
    flex: 2; /* Nimmt 2/3 des Platzes ein */
    width: auto; 
    margin: 0; 
}

/* Rechte Spalte (Newsletter) */
#newsletter-section {
    flex: 1; /* Nimmt 1/3 des Platzes ein */
    width: auto;
    margin: 0; 
    padding: 0; 
    background: none; /* Entfernt den Hintergrund, da er auf .form-container ist */
    box-shadow: none;
}

/* Formular-Container in der rechten Spalte */
#newsletter-section .form-container {
    max-width: none; /* Deaktiviert die feste max-width */
    margin: 0; /* Deaktiviert die Zentrierung */
    height: 100%; /* Füllt die Höhe der News-Spalte aus */
    
    /* Fügt die Hintergrund- und Schatten-Stile wieder hinzu, um sie an die News-Spalte anzugleichen */
    background-color: rgba(0,0,0,0.5);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(201, 39, 39, 0.588);
    border: none; 
}

/* Media Query für Mobilgeräte (stapelt die Spalten unter 1300px) */
@media (max-width: 1300px) {
    #content-layout {
        width: 95%;
        flex-direction: column;
        gap: 20px;
        margin: 20px auto;
    }
    #news, #newsletter-section {
        width: 100%;
        margin: 0;
    }
    #infos {
        width: 95%;
    }
}
/* ============================================= */
/* Stile für Beitrags-Detailseite und Kommentare */
/* ============================================= */

.post-detail-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #1f1f1f; /* Etwas hellerer Hintergrund für den Fokus */
    border-radius: 8px;
}

.full-post h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.read-more-link {
    display: inline-block;
    margin-top: 15px;
    color: #00aaff;
    text-decoration: none;
    font-weight: bold;
}

.read-more-link:hover {
    text-decoration: underline;
}

.comments-section {
    margin-top: 50px;
    border-top: 1px solid #444;
    padding-top: 30px;
}

.comment-list .comment {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 3px solid #00aaff;
}

.comment p {
    margin: 0 0 5px 0;
}

.comment-date {
    font-size: 0.8em;
    color: #888;
    margin-left: 10px;
}

.comment-form {
    margin-top: 30px;
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 5px;
}

.comment-form .form-group {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #333;
    color: #eee;
}

.comment-form button {
    padding: 10px 20px;
    background-color: #00aaff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.comment-form button:hover {
    background-color: #0088cc;
}