/* Imkerquiz – Ergänzungen zur übernommenen Original-CSS (alte Imkerquiz-Website).
   Neue Bausteine (Buttons, Admin, Consent, Landingpages) im Look des Originals. */

/* Hintergrund: identische Datei, eigener Asset-Pfad */
body { background-image: url("/assets/img/imkerquiz_bg.svg"); }

/* Textbausteine: TinyMCE speichert Absätze als <p>-Blöcke. Der Wrapper-<div>
   reicht Farbe, Schriftart und -größe an diese Absätze weiter, damit die
   Formatierung des Frontends immer erhalten bleibt (kein p-im-p-Problem). */
.text-block p {
    margin: 0 0 .75em;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
.text-block > :first-child { margin-top: 0; }
.text-block > :last-child,
.text-block p:last-child { margin-bottom: 0; }

/* Restliche Container-Klassen (v. a. Admin) */
.section { padding: 2.5rem 20px; }
.page-content { max-width: 820px; margin: 0 auto; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 300;
    background: #fff; color: #1f2937; padding: 10px 16px;
    border-radius: 0 0 12px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Buttons (alte Optik: gelbe/grüne Pillen, weiße Variante) */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 24px; border: 2px solid transparent;
    border-radius: 12px; font-size: 1rem; font-weight: 700; text-decoration: none;
    cursor: pointer; transition: all .15s;
}
.btn-lg { min-height: 56px; padding: 14px 32px; font-size: 1.1rem; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .9rem; }
.btn-primary { background: #f5be0b; color: #fff; box-shadow: 0 10px 15px -3px rgb(234 179 8 / .2); }
.btn-primary:hover { background: #facc15; }
.btn-secondary { background: #22c55e; color: #fff; box-shadow: 0 10px 15px -3px rgb(34 197 94 / .2); }
.btn-secondary:hover { background: #16a34a; }
.btn-tertiary { background: #fff; color: #1f2937; border-color: #f5be0b4d; box-shadow: 0 1px 3px rgb(0 0 0 / .1); }
.btn-tertiary:hover { border-color: #f5be0b; background: #f9fafb; }
.btn-gray { background: #f3f4f6; color: #374151; border-color: #e5e7eb; }
.btn-gray:hover { background: #e5e7eb; color: #1f2937; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }

/* Hinweise */
.flash { margin: 12px auto; max-width: 56rem; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.flash-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.flash-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.flash-info { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }

.breadcrumb { font-size: .875rem; color: #6b7280; margin-bottom: 12px; }
.breadcrumb a { color: #6b7280; font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { color: #f5be0b; }

@keyframes scaleIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.animate-scale-in { animation: scaleIn .25s ease-out forwards; }

/* Antwort-Buttons mit Checkbox (ohne JS: :has für ausgewählten Zustand) */
.answer-option:has(input:checked) {
    border-color: #f5be0b !important;
    background: rgba(245, 190, 11, .05) !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
}
.answer-option:has(input:checked) .check-square {
    border-color: #f5be0b !important;
    background: rgba(245, 190, 11, .15);
}
.check-square svg { display: none; }
.answer-option:has(input:checked) .check-square svg { display: block; }

/* Consent-Banner (alte Optik, cookieless) */
.consent-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
    max-width: 42rem; margin: 0 auto; background: #fff; border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25); padding: 24px;
    border-top: 4px solid #f5be0b; animation: scaleIn .3s ease-out forwards;
}
.consent-banner h2 { font-size: 1.25rem; font-weight: 800; color: #1f2937; margin: 0 0 8px; }
.consent-banner p { color: #4b5563; line-height: 1.6; margin: 0 0 16px; font-size: .95rem; }
.consent-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-banner-actions { flex-direction: column; }
.consent-banner-actions .btn { width: 100%; }
.consent-settings-card .consent-banner-actions { flex-direction: column; }
.consent-settings-card .consent-banner-actions .btn { width: 100%; }

/* Consent-Modal (einheitliches Fenster) */
.consent-modal-overlay {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.consent-modal-overlay[hidden] { display: none; }
.consent-modal {
    position: relative; background: #fff; border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
    width: 100%; max-width: 30rem; max-height: 90vh; overflow-y: auto;
    padding: 28px; text-align: center; animation: scaleIn .25s ease-out forwards;
}
.consent-modal-bar { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: #f5be0b; }
.consent-modal h2 { font-size: 1.35rem; font-weight: 800; color: #1f2937; margin: 0 0 10px; }
.consent-modal p { color: #4b5563; line-height: 1.6; font-size: .95rem; margin: 0 0 18px; }
.consent-close {
    position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
    border-radius: 9999px; border: 1px solid #f3f4f6; background: #fff;
    color: #9ca3af; font-size: 1.05rem; line-height: 1; cursor: pointer;
}
.consent-close:hover { background: #f9fafb; color: #374151; }

/* Fehler melden */
.report-wrap { margin-top: 14px; }
.report-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .78rem; font-weight: 700; color: #ef4444cc;
    background: #fef2f280; border: 1px solid #fecaca; padding: 6px 12px;
    border-radius: 10px; cursor: pointer; transition: all .15s;
}
.report-toggle:hover { background: #fef2f2; color: #dc2626; }
.report-form {
    margin-top: 10px; background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 12px; padding: 12px;
}
.report-form textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #d1d5db;
    border-radius: 10px; font-size: .9rem; min-height: 84px; background: #fff; color: #1f2937;
}
.report-form textarea:focus { outline: none; border-color: #f5be0b; box-shadow: 0 0 0 3px #f5be0b33; }
.report-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; }

/* Admin-Typografie und fehlende Komponenten (Original-CSS setzt h1..h3 auf inherit) */
.admin h1 { font-size: 1.7rem; font-weight: 800; color: #1f2937; margin: 0 0 10px; line-height: 1.25; }
.admin h2 { font-size: 1.3rem; font-weight: 700; color: #1f2937; margin: 0 0 8px; }
.admin h3 { font-size: 1.1rem; font-weight: 700; color: #1f2937; margin: 0 0 6px; }
.admin p { margin: 0 0 10px; color: #374151; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-head h1 { margin: 0; }
.admin-count { color: #6b7280; font-size: .9rem; margin: 10px 0; }
.filter-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.filter-form .form-group { margin-bottom: 0; min-width: 180px; flex: 1; }
.action-cell { white-space: nowrap; }
.action-cell .btn { margin-right: 6px; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pagination a { padding: 6px 12px; border-radius: 10px; background: #fff; border: 1px solid #e5e7eb; color: #374151; font-weight: 600; text-decoration: none; }
.pagination a:hover { border-color: #f5be0b66; }
.pagination a.is-active { background: #f5be0b; color: #fff; border-color: #f5be0b; }
.pagination-ellipsis { padding: 6px 4px; color: #9ca3af; font-weight: 600; }
.form-fieldset { border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px; margin: 0 0 16px; background: #fff; }
.form-fieldset legend { font-weight: 700; color: #374151; padding: 0 8px; }
.answer-editor { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; margin-bottom: 10px; }
.answer-correct { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #374151; }
.answer-correct input { width: 18px; height: 18px; accent-color: #22c55e; }
.admin-table code { background: #f3f4f6; padding: 2px 6px; border-radius: 6px; font-size: .85em; }

/* Admin 2.0 – Übersichtlichkeit & schnelle Bedienung */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.role-badge { display: inline-block; padding: 3px 10px; border-radius: 9999px; font-size: .75rem; font-weight: 700; }
.role-superadmin { background: #fef3c7; color: #92400e; }
.role-admin { background: #e0e7ff; color: #3730a3; }
.role-redakteur { background: #dcfce7; color: #166534; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border: 0; background: transparent; border-radius: 10px;
    color: #6b7280; text-decoration: none; cursor: pointer; font-size: 1.05rem;
    transition: background .15s, color .15s;
}
.icon-btn:hover { background: #f3f4f6; color: #1f2937; }
.icon-btn-danger:hover { background: #fef2f2; color: #dc2626; }
.sort-link { color: #374151; text-decoration: none; font-weight: 700; white-space: nowrap; }
.sort-link:hover { color: #b98f00; }
.sort-arrow { color: #f5be0b; font-size: .8rem; }
.checked-yes { color: #16a34a; font-weight: 800; font-size: 1.05rem; }
.checked-no { color: #dc2626; font-weight: 800; font-size: 1.05rem; }

/* Statistiken – kompakt und einheitlich */
.admin-stats-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
@media (max-width: 640px) { .admin-stats-inline { grid-template-columns: 1fr; } }
.stats-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .stats-grid-2 { grid-template-columns: 1fr; } }
.bar-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.bar-label { min-width: 90px; font-weight: 600; color: #374151; }
.bar-track { flex: 1; background: #f3f4f6; border-radius: 9999px; height: 12px; overflow: hidden; }
.bar-track.tall { height: 120px; }
.bar-fill { height: 100%; background: #f5be0b; border-radius: 9999px; }
.bar-value { min-width: 36px; text-align: right; color: #6b7280; font-weight: 700; }
.daily-bars { display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.daily-bar { flex: 1; background: #f5be0b; border-radius: 2px 2px 0 0; min-height: 2px; }
.chart-box, .admin-chart-small { max-width: 640px; margin: 0 auto; }

/* Formulare: einheitliche, opake Felder */
.admin-form input:not([type=checkbox]):not([type=radio]),
.admin-form select,
.admin-form textarea { background: #fff; border: 1px solid #d1d5db; color: #1f2937; }

/* Prominente Kategorie-Anzeige (Quiz & Training) */
.cat-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #f5be0b1a; border: 1px solid #f5be0b4d;
    color: #1f2937; font-weight: 800; font-size: .82rem;
    padding: 7px 14px; border-radius: 9999px;
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px;
}
.cat-badge .cat-icon { font-size: 1rem; }

/* Spenden-Karte (traurige Biene) */
.donation-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
    background: #fffdf6; border: 1px solid #f5be0b4d; border-radius: 18px;
    padding: 28px 22px; margin-top: 22px;
}
.donation-card img { width: 120px; height: 120px; }
.donation-card h3 { font-size: 1.1rem; font-weight: 800; color: #1f2937; margin: 6px 0 4px; }
.donation-card p { color: #57534e; line-height: 1.5; margin: 0 0 12px; font-size: .95rem; max-width: 34rem; }
.donation-card .donation-text { color: #57534e; line-height: 1.5; margin: 0 0 12px; font-size: .95rem; max-width: 34rem; }
.donation-card .donation-text p { margin: 0 0 12px; }
.donation-card a.btn.btn-primary,
.donation-card a.btn { color: #fff; text-decoration: none; font-weight: 700; }

/* Verlinkter Begriff „Datenschutzeinstellungen“ (Pill im Stil des Floating-Buttons).
   Spezifischere Selektoren, damit die Original-Regel `.prose .q-editor-content a`
   Farbe und Hover-Zustand nicht überschreibt. */
.q-editor-content a.datenschutz-link,
.datenschutz-link {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(245, 190, 11, .12); border: 1px solid rgba(245, 190, 11, .35);
    color: #b98f00; font-weight: 700; padding: 2px 10px; border-radius: 9999px;
    text-decoration: none; transition: all .15s; white-space: nowrap;
}
.q-editor-content a.datenschutz-link:hover,
.datenschutz-link:hover {
    background: #f5be0b !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Inline-Beispielfragen (aufklappbar) */
.sample-question {
    background: #fff; border: 1px solid #f3f4f6; border-radius: 14px;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05); overflow: hidden;
}
.sample-question summary {
    padding: 14px 18px; font-weight: 600; color: #1f2937; cursor: pointer;
    list-style-position: inside;
}
.sample-question summary:hover { background: #f9fafb; }
.sample-question[open] summary { border-bottom: 1px solid #f3f4f6; }
.sample-question-body { padding: 16px 18px; }
.sample-question .answer-list { display: grid; gap: 8px; margin-top: 10px; }
.sample-question .answer-option { border: 2px solid #e5e7eb; background: #fafafa; }
.sample-question .answer-option .answer-text { font-size: .95rem; }

/* Trainingsmodus-Kennzeichnung auf Kategorie-Seiten */
.training-mode-label {
    display: inline-block; font-size: .95rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .06em; color: #92400e;
    background: #f5be0b1a; border: 1px solid #f5be0b4d;
    padding: 8px 20px; border-radius: 9999px; margin: 0 auto 22px;
}
.landing-header-center { text-align: center; }
.landing-header-center h1 { margin-bottom: 16px; }
}

/* Dezenteres Layout (kleinere Schriften, ruhigere Karten) */
body { font-size: 1rem; }
.text-5xl { font-size: 2rem !important; line-height: 2.2rem !important; }
.sm\:text-5xl { font-size: 2.25rem !important; line-height: 2.4rem !important; }
.text-4xl { font-size: 1.625rem !important; line-height: 1.9rem !important; }
.sm\:text-4xl { font-size: 1.75rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.375rem !important; line-height: 1.7rem !important; }
.text-2xl { font-size: 1.125rem !important; line-height: 1.55rem !important; }
.text-xl { font-size: 1.0625rem !important; line-height: 1.55rem !important; }
.text-lg { font-size: 1rem !important; line-height: 1.5rem !important; }
.sm\:text-xl { font-size: 1.125rem !important; line-height: 1.6rem !important; }
.min-h-\[60vh\] { min-height: 44vh !important; }
.p-8 { padding: 1.25rem !important; }
.sm\:p-12 { padding: 1.75rem !important; }
.p-10 { padding: 1.5rem !important; }
.sm\:p-14 { padding: 2rem !important; }
.p-6 { padding: 1.25rem !important; }
.sm\:p-6 { padding: 1.5rem !important; }
.consent-details { margin-top: 14px; border-top: 1px solid #f3f4f6; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.consent-details[hidden] { display: none; }
.consent-option { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #374151; }
.consent-option input { width: 20px; height: 20px; accent-color: #22c55e; }
.consent-option-disabled { opacity: .6; color: #6b7280; }
.consent-option-disabled input { accent-color: #9ca3af; }

/* Einstellungen-Link mit Pfeil */
.consent-settings-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: transparent; border: 0; color: #f5be0b; font-weight: 700; font-size: .95rem;
    padding: 10px 12px; margin-top: 6px; cursor: pointer; text-decoration: underline;
    transition: color .15s;
}
.consent-settings-toggle:hover { color: #b98f00; }
.consent-settings-toggle svg { transition: transform .2s ease; }
.consent-settings-toggle.is-open svg { transform: rotate(180deg); }

/* Admin (funktional, alte Optik) */
.admin-header { background: #fff; border-bottom: 1px solid #f5be0b33; padding: 14px 0; position: sticky; top: 0; z-index: 50; }
.admin-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-text strong { font-size: 1.15rem; color: #1f2937; display: block; line-height: 1.2; }
.brand-text small { color: #9ca3af; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: #4b5563; flex-wrap: wrap; }
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 16px; max-width: 72rem; margin: 0 auto; }
.admin-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.admin-nav a { display: block; padding: 10px 14px; border-radius: 12px; font-weight: 600; color: #4b5563; background: #fff; border: 1px solid #f3f4f6; text-decoration: none; }
.admin-nav a:hover { border-color: #f5be0b4d; color: #1f2937; }
.admin-nav a.is-active { background: #f5be0b; color: #fff; border-color: #f5be0b; }
.admin-content { min-width: 0; }
.admin-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 1rem; box-shadow: 0 4px 6px -1px rgb(0 0 0 / .05); padding: 20px; margin-bottom: 20px; }
.admin-card h1, .admin-card h2 { color: #1f2937; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th { text-align: left; padding: 10px 12px; background: #f9fafb; color: #374151; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid #e5e7eb; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #f3f4f6; color: #374151; vertical-align: top; }
.admin-table tbody tr { background: #fff; }
.admin-table tbody tr:nth-child(even) { background: #fafafa; }
.admin-table tr:hover td { background: #f9fafb; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; color: #374151; margin-bottom: 6px; font-size: .9rem; }
.form-control, .form-group input[type=text], .form-group input[type=password], .form-group input[type=email],
.form-group input[type=number], .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 12px;
    font-size: .95rem; background: #fff; color: #1f2937;
}
.form-control:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: #f5be0b; box-shadow: 0 0 0 3px #f5be0b33;
}
.form-note { font-size: .875rem; color: #6b7280; margin-top: 8px; }
.inline-form { display: inline; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 9999px; font-size: .72rem; font-weight: 700; }
.badge-correct { background: #f0fdf4; color: #166534; }
.badge-wrong { background: #fef2f2; color: #991b1b; }

/* Karten, Grids (Startseite/Admin) */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 1rem; box-shadow: 0 4px 6px -1px rgb(0 0 0 / .05); padding: 18px; text-align: center; }
.stat-number { display: block; font-size: 1.8rem; font-weight: 800; color: #1f2937; }
.stat-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #9ca3af; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.area-card { display: block; background: #fff; border: 1px solid #f3f4f6; border-radius: 1rem; padding: 18px; box-shadow: 0 4px 6px -1px rgb(0 0 0 / .05); text-decoration: none; transition: all .15s; }
.area-card:hover { border-color: #f5be0b66; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1); transform: translateY(-2px); }
.area-name { display: block; font-weight: 700; color: #1f2937; margin-bottom: 4px; }
.area-count { font-size: .8rem; color: #9ca3af; font-weight: 600; }

/* Quizgrößen-Auswahl */
.quizsize-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.quizsize-card { display: block; background: #fff; border: 2px solid #f3f4f6; border-radius: 1rem; padding: 18px; text-decoration: none; transition: all .15s; }
.quizsize-card:hover, .quizsize-card:focus-visible { border-color: #f5be0b66; box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1); }
.quizsize-card-link { display: flex; flex-direction: column; gap: 6px; }
.quizsize-name { display: block; font-weight: 800; font-size: 1.1rem; color: #1f2937; }
.quizsize-count { color: #22c55e; font-weight: 700; }
.quizsize-desc { font-size: .85rem; color: #6b7280; }

/* Landingpages (alte Optik) */
.landing-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; padding: 0; list-style: none; }
.landing-stat { background: #fff; border: 1px solid #f3f4f6; border-radius: 9999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: #374151; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.landing-section { margin-top: 32px; }
.landing-section h2 { font-size: clamp(1.15rem, 2.6vw, 1.45rem); margin-top: 0; color: #1f2937; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topic-chip { background: #fff6e0; border: 1px solid #f5be0b4d; border-radius: 9999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: #1f2937; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.link-list a { display: block; background: #fff; border: 1px solid #f3f4f6; border-radius: 12px; padding: 12px 16px; color: #1f2937; text-decoration: none; font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.link-list a:hover, .link-list a:focus-visible { border-color: #f5be0b66; }
.link-list .link-count { display: block; font-weight: 500; font-size: .88rem; color: #6b7280; margin-top: 2px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cta-row .btn { margin: 0; }
.example-badge { display: inline-block; background: rgba(245, 190, 11, .2); color: #1f2937b3; border-radius: 9999px; padding: 4px 12px; font-size: .82rem; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.quiz-panel { background: #fff; border: 1px solid #f3f4f6; border-radius: 1.5rem; box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1); padding: 26px; }

/* Frage-/Ergebnis-Komponenten (alte Optik) */
.training-feedback { border-radius: 1rem; padding: 18px; }
.feedback-correct { background: #f0fdf4; border: 1px solid #86efac; }
.feedback-wrong { background: #fef2f2; border: 1px solid #fca5a5; }
.answer-review { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.answer-review li { padding: 10px 14px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; color: #4b5563; }
.answer-review li.is-correct { border-color: #22c55e; background: #f0fdf4; color: #14532d; font-weight: 700; }
.answer-review li.is-wrong { border-color: #fca5a5; background: #fef2f2; color: #7f1d1d; }
.explanation-text, .explanation { background: #eff6ff; border: 1px solid #dbeafe; border-radius: 12px; padding: 14px; margin-top: 14px; }
.explanation-text h3, .explanation summary { color: #1e3a8a; font-weight: 700; font-size: .95rem; }
.wrong-card { background: #fff; border: 1px solid #fecaca; border-radius: 1rem; padding: 18px; margin-bottom: 18px; box-shadow: 0 4px 6px -1px rgb(0 0 0 / .05); }
.result-bee { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 20px; }
.podium-none { background: #f9fafb; border: 1px dashed #e5e7eb; border-radius: 1rem; padding: 18px; text-align: center; }
.training-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* Datenschutz-Einstellungen */
.consent-settings-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 1.5rem; box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1); padding: 28px; max-width: 42rem; margin: 0 auto; }
.consent-settings-card h2 { color: #1f2937; font-size: 1.5rem; font-weight: 800; margin: 0 0 8px; }
.consent-settings-card p { color: #4b5563; line-height: 1.6; }
.consent-settings-card label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f3f4f6; }
.consent-settings-card input[type=checkbox] { width: 20px; height: 20px; margin-top: 3px; accent-color: #22c55e; }

/* Schwebender Datenschutz-Button (wie das alte CMP-Privacy-Icon) */
.privacy-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 150;
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 9999px;
    background: #f5be0b; color: #fff; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .25);
    transition: background .15s, transform .15s;
}
.privacy-fab:hover { background: #eab308; transform: translateY(-2px); }
.privacy-fab svg { display: block; }
