/* Moderne Benutzerhandbuch-Einträge mit VILSTEIN-Farbschema */
:root {
    --vilstein-primary: #1E3546;       /* Dunkelblau wie auf dem Hintergrund */
    --vilstein-secondary: #4283e5;     /* Blau wie bei den Buttons */
    --vilstein-accent: #6ca9d6;        /* Helleres Blau */
    --vilstein-light: #f1f6fb;         /* Helles Blau-Grau */
    --vilstein-dark: #0c1522;          /* Dunkleres Blau */
    --vilstein-text: #333333;          /* Standard Textfarbe */
    --vilstein-light-text: #ffffff;    /* Helle Textfarbe */
}

/* Hauptcontainer für den Benutzerhandbuch-Bereich */
.benutzerhandbuch-archiv {
    background-color: #1E3546;
    padding: 40px 0;
    color: var(--vilstein-light-text);
}

.benutzerhandbuch-eintrag {
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border-left: 4px solid var(--vilstein-secondary);
    color: var(--vilstein-text);
}

.benutzerhandbuch-eintrag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-left-color: var(--vilstein-accent);
}

.benutzerhandbuch-eintrag .benutzerhandbuch-titel {
    font-size: 18px;
    font-weight: 600;
    color: var(--vilstein-primary);
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
    position: relative;
    padding-left: 30px;
}

.benutzerhandbuch-eintrag .benutzerhandbuch-titel:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%234283e5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.benutzerhandbuch-meta {
    margin-bottom: 15px;
}

.benutzerhandbuch-thema,
.benutzerhandbuch-artikel-nr {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--vilstein-primary);
}

.benutzerhandbuch-thema strong,
.benutzerhandbuch-artikel-nr strong {
    font-weight: 600;
}

/* Button-Styles wurden entfernt */

.benutzerhandbuch-meta {
    margin-bottom: 15px;
}

.benutzerhandbuch-auszug {
    margin-bottom: 10px;
}

.benutzerhandbuch-eintrag {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.benutzerhandbuch-kategorie-text {
    font-size: 14px;
    color: var(--vilstein-primary);
    margin-bottom: 10px;
    display: inline-block;
}

.benutzerhandbuch-auszug {
    font-size: 15px;
    color: #5d6d7e;
    line-height: 1.5;
}

/* Kategorie-Navigation für VILSTEIN */
.handbuch-kategorien-navigation {
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.handbuch-kategorien-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.handbuch-kategorie-link {
    display: block;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.handbuch-kategorie-link:hover,
.handbuch-kategorie-link.active {
    background-color: var(--vilstein-secondary);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Überschriften stylen */
.benutzerhandbuch-archiv h1,
.benutzerhandbuch-archiv h2,
.handbuch-kategorie-bereich h2 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 25px;
    text-align: center;
    color: #ffffff;
}

.benutzerhandbuch-archiv h1:after,
.benutzerhandbuch-archiv h2:after,
.handbuch-kategorie-bereich h2:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--vilstein-secondary);
}

/* Animation beim Laden */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.benutzerhandbuch-eintrag {
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

/* PDF-Anzeige in der Einzelansicht */
.benutzerhandbuch-pdf-viewer {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.pdf-container {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.pdf-download-link {
    text-align: center;
}

.pdf-download-link .button {
    background-color: var(--vilstein-secondary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.pdf-download-link .button:hover {
    background-color: var(--vilstein-accent);
}