/* Grundkonfiguration für alle Boxen */
* {
    box-sizing: border-box;
}

/* Der äußere Hintergrund (das "Spielfeld") */
body {
    font-family: 'Georgia', serif; /* Klassische, gut lesbare Buchschrift */
    font-size: 1.2rem;            /* Große Basisschrift für bessere Lesbarkeit */
    line-height: 1.7;             /* Luftiger Zeilenabstand */
    color: #2c2c2c;               /* Dunkles Anthrazit statt hartem Schwarz */
    background-color: #eee8d5;    /* Warmer, augenschonender Hintergrund-Ton */
    margin: 0;
    padding: 15px;                /* Rand für mobile Displays */
    display: flex;
    justify-content: center;
}

/* Der Inhalts-Container (die "Buchseite") */
.container {
    background: #fdfaf4;          /* Helles Cremeweiß für den Textbereich */
    width: 100%;
    max-width: 700px;             /* Verhindert zu lange, unleserliche Zeilen auf dem PC */
    padding: 30px;
    border: 1px solid #d3c4a8;    /* Dezenter Rahmen in Sandfarben */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Sanfter Schatten für Tiefe */
    border-radius: 4px;
}

/* Titel-Überschrift */
h1 {
    font-size: 1.6rem;            /* Deutlich abgehoben */
    color: #8b0000;               /* Dunkles "Ochsenblut-Rot" */
    text-align: center;
    text-transform: uppercase;    /* Kapitälchen-Look */
    letter-spacing: 1px;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 30px;
}

/* Hervorhebungen im Text (z.B. Namen oder Orte) */
b, strong {
    color: #5d0000;               /* Ein etwas dunkleres Rot für Akzente */
}

/* Links (die Entscheidungs-Optionen) */
a {
    color: #004a99;               /* Klassisches Blau für Links */
    text-decoration: none;
    font-weight: bold;
    padding: 8px 4px;             /* Größere Klickfläche für die Finger am Handy */
    display: inline-block;        /* Sorgt dafür, dass Padding korrekt wirkt */
    transition: all 0.2s ease;
}

/* Feedback beim Berühren/Anklicken */
a:hover, a:active {
    color: #8b0000;
    background-color: #fff5e6;    /* Dezentes Highlight beim Drüberfahren */
    border-radius: 3px;
    text-decoration: underline;
}

/* Horizontale Trenner */
hr {
    border: 0;
    border-top: 1px double #d3c4a8;
    margin: 30px 0;
}

/* --- Responsive Anpassungen für Tablet und Desktop --- */
@media (min-width: 600px) {
    body {
        padding: 40px 20px;
    }
    
    .container {
        padding: 50px;           /* Mehr Platz zum Atmen auf großen Schirmen */
    }
    
    h1 {
        font-size: 2rem;
    }
}