/* ==================================== */
/* 1. GRUNDLAGEN (Typografie & Reset) */
/* ==================================== */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Hellgrauer Hintergrund */
    color: #333; /* Dunkelgrauer Text */
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 20px auto;
    padding: 30px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

/* ==================================== */
/* 2. HEADINGS UND AKZENTE */
/* ==================================== */
h1 {
    color: #007bff; /* Primäre Akzentfarbe: Blau */
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2.5em;
}

h2 {
    color: #28a745; /* Sekundäre Akzentfarbe: Grün */
    margin-top: 40px;
    border-left: 5px solid #28a745;
    padding-left: 10px;
}

h3 {
    color: #333;
    font-size: 1.3em;
    margin-top: 25px;
}

/* ==================================== */
/* 3. NAVIGATION */
/* ==================================== */
nav {
    background-color: #343a40; /* Dunkle Navigationsleiste */
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s;
    border-radius: 5px;
}

nav a:hover {
    background-color: #007bff;
}

/* ==================================== */
/* 4. INHALT UND BILDER */
/* ==================================== */
ul, ol {
    margin-left: 20px;
    padding-left: 0;
}

.chapter-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ==================================== */
/* 5. TABELLEN (Plattformen & Prompts) */
/* ==================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
}

th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

thead th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: bold;
}

.prompt-cell {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    background-color: #f7f7f7;
    border-left: 4px solid #007bff;
}

/* ==================================== */
/* 6. FORMULARE */
/* ==================================== */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"], 
input[type="email"], 
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Padding wird in die Breite eingerechnet */
}

button[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #218838;
}

/* ==================================== */
/* 7. RECHTLICHES UND FOOTER */
/* ==================================== */
.rechtlicher-hinweis {
    border: 1px solid #ffcc00; 
    padding: 15px; 
    margin: 15px 0; 
    background-color: #fff9e6; 
    color: #cc9900;
    border-radius: 5px;
}

footer {
    background-color: #343a40;
    color: #ccc;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-radius: 0 0 12px 12px; /* Nur unten abgerundet, wenn der Footer am Container klebt */
}

footer a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
}

/* ==================================== */
/* 8. RESPONSIVE DESIGN (Mobile Anpassung) */
/* ==================================== */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    nav a {
        display: block; /* Links untereinander im Mobile */
        padding: 8px 10px;
        border-bottom: 1px solid #575757;
    }
    
    nav {
        padding: 0;
    }

    table, .prompt-cell {
        display: block;
        width: 100%;
    }
    /* Tabellenzeilen als Blöcke darstellen */
    table thead {
        display: none; /* Kopfzeile im Mobile verstecken */
    }
    table tr {
        margin-bottom: 10px;
        display: block;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    table td {
        display: block;
        text-align: right;
        border: none;
        border-bottom: 1px dotted #eee;
        padding-left: 50%; /* Platz für das Label */
        position: relative;
    }
    /* Pseudo-Elemente als Label für die Tabelle (nur bei Mobile) */
    /* Dies müsste für die Prompt-Tabelle angepasst werden, ist aber ein fortgeschrittener Schritt */
}