@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Roboto-VariableFont.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Roboto-Italic-VariableFont.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Globale Styles */
body {
    font-family: 'Roboto', 'Arial', sans-serif; /* Fallback hinzugefügt */
    background-color: rgb(20, 20, 9); /* background */
    color: rgb(231, 227, 208); /* onBackground */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 800px;
    padding: 40px;
    background-color: rgb(24, 23, 23); /* surfaceContainer */
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 20%);
}

/* Überschriften */
h1 {
    font-size: 2rem;
    color: rgb(221, 216, 0); /* primary */
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5rem;
    color: rgb(220, 220, 220); /* Helleres Grau für bessere Lesbarkeit */
    font-weight: 600; /* Deutlicher hervorgehoben */
    margin-bottom: 10px;
}

/* Fließtext */
p {
    font-size: 1rem;
    color: rgb(231, 227, 208); /* onBackground */
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Links */
a {
    color: rgb(221, 216, 0); /* primary */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: rgb(250, 245, 51); /* primaryContainer */
}

/* Buttons */
button.back-button {
    display: inline-block;
    background-color: rgb(221, 216, 0); /* primary */
    color: rgb(51, 50, 0); /* onPrimary */
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: 20px;
}

/* Button Hover & Focus für Accessibility */
button.back-button:hover {
    background-color: rgb(250, 245, 51); /* primaryContainer */
}

button.back-button:focus {
    outline: 3px solid rgb(221, 216, 0); /* primary */
    outline-offset: 3px;
}

/* Listen */
ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}

/* Extra Optimierung für sehr kleine Bildschirme */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
}