/* Grundlegende Einstellungen */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* Container für Mobil-Optimierung */
.container {
    max-width: 600px; /* Sieht auf Desktop wie eine App aus, füllt Handy aus */
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Header Bereich */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 { margin: 0; font-size: 1.5rem; }
header p { margin: 5px 0 0; opacity: 0.8; font-size: 0.9rem; }

/* Inhalt */
.content { padding: 20px; }

/* Das Login Formular */
.login-box {
    background: #eef2f5;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

input[type="password"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px; /* Verhindert Zoom auf iPhone */
}

button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button:hover { background-color: #219150; }

/* Das Akkordeon (Aufklapp-Menü) */
details {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    overflow: hidden;
}

summary {
    padding: 15px;
    cursor: pointer;
    background-color: #f9f9f9;
    font-weight: bold;
    list-style: none; /* Dreieck ausblenden */
    position: relative;
}

summary::after {
    content: '+'; 
    position: absolute;
    right: 20px;
    font-weight: bold;
}

details[open] summary::after { content: '-'; }

/* Verschachtelung optisch trennen */
details details { margin: 10px; border-left: 4px solid #3498db; }
details details summary { background: #fff; font-size: 0.95rem; }

/* Die Audio-Liste */
.audio-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.audio-label {
    font-weight: bold;
    color: #555;
    width: 50px; /* Platz für Zeilennummer */
}

audio {
    height: 35px;
    width: 100%;
    max-width: 250px;
}

/* Buch Werbung */
.book-ad {
    text-align: center;
    margin-bottom: 30px;
}
/* Container, der das Bild zentriert */
.cover-container {
    text-align: center;
    margin-bottom: 20px;
}

/* Das Bild selbst */
.responsive-cover {
    max-width: 100%;    /* Damit es nicht breiter als der Bildschirm wird */
    width: 220px;       /* Ideale Anzeigebreite auf dem Handy */
    height: auto;       /* Höhe passt sich automatisch an */
    
    /* Optik: Schatten und abgerundete Ecken */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 4px;
}